summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/lto/20100302_0.C
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/g++.dg/lto/20100302_0.C')
-rw-r--r--gcc/testsuite/g++.dg/lto/20100302_0.C9
1 files changed, 9 insertions, 0 deletions
diff --git a/gcc/testsuite/g++.dg/lto/20100302_0.C b/gcc/testsuite/g++.dg/lto/20100302_0.C
new file mode 100644
index 000000000..0551e6ebc
--- /dev/null
+++ b/gcc/testsuite/g++.dg/lto/20100302_0.C
@@ -0,0 +1,9 @@
+// Test for ABI forward-compatibility aliases with LTO.
+// { dg-skip-if "" { { ! { i?86-*-* x86_64-*-* } } || { *-*-darwin* } } { "*" } { "" } }
+// { dg-lto-options {"-flto -fabi-version=2"} }
+
+#include "20100302.h"
+
+void f(mm128 *) { }
+
+template <> mm128 A<mm128>::t = { };