aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJan Hubicka <hubicka@gcc.gnu.org>2012-10-06 17:43:07 +0000
committerJan Hubicka <hubicka@gcc.gnu.org>2012-10-06 17:43:07 +0000
commitba52e3cf4917c934df5f2c867dd95a2d067d44f0 (patch)
tree16e98cfa3143763adbfa0a123cea02b47b376635 /gcc
parentc295453808f7ccf94f440ceec7feb51de21b3e35 (diff)
downloadgcc-ba52e3cf4917c934df5f2c867dd95a2d067d44f0.zip
gcc-ba52e3cf4917c934df5f2c867dd95a2d067d44f0.tar.gz
gcc-ba52e3cf4917c934df5f2c867dd95a2d067d44f0.tar.bz2
* gcc.dg/lto/resolutions_0.c: New testcase.
From-SVN: r192167
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/gcc.dg/lto/resolutions_0.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.dg/lto/resolutions_0.c b/gcc/testsuite/gcc.dg/lto/resolutions_0.c
new file mode 100644
index 0000000..9e59cb0
--- /dev/null
+++ b/gcc/testsuite/gcc.dg/lto/resolutions_0.c
@@ -0,0 +1,10 @@
+/* { dg-require-linker-plugin "" } */
+/* { dg-extra-ld-options "-fuse-linker-plugin -O1" } */
+
+link_error()
+{
+}
+main()
+{
+ return 0;
+}