summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.other/comdat3.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/g++.old-deja/g++.other/comdat3.h')
-rw-r--r--gcc/testsuite/g++.old-deja/g++.other/comdat3.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.other/comdat3.h b/gcc/testsuite/g++.old-deja/g++.other/comdat3.h
new file mode 100644
index 000000000..e2ec97090
--- /dev/null
+++ b/gcc/testsuite/g++.old-deja/g++.other/comdat3.h
@@ -0,0 +1,8 @@
+template <class T> struct A {
+ static const bool b = false;
+};
+
+template <class T>
+const bool A<T>::b;
+
+void f ();