summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.other/comdat3-aux.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/g++.old-deja/g++.other/comdat3-aux.cc')
-rw-r--r--gcc/testsuite/g++.old-deja/g++.other/comdat3-aux.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.other/comdat3-aux.cc b/gcc/testsuite/g++.old-deja/g++.other/comdat3-aux.cc
new file mode 100644
index 000000000..fc011e27a
--- /dev/null
+++ b/gcc/testsuite/g++.old-deja/g++.other/comdat3-aux.cc
@@ -0,0 +1,6 @@
+#include "comdat3.h"
+
+void f ()
+{
+ const bool *p = &A<int>::b;
+}