aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.bob/extern_C.C
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/g++.old-deja/g++.bob/extern_C.C')
-rw-r--r--gcc/testsuite/g++.old-deja/g++.bob/extern_C.C9
1 files changed, 9 insertions, 0 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.bob/extern_C.C b/gcc/testsuite/g++.old-deja/g++.bob/extern_C.C
new file mode 100644
index 00000000000..6b91adc36e3
--- /dev/null
+++ b/gcc/testsuite/g++.old-deja/g++.bob/extern_C.C
@@ -0,0 +1,9 @@
+// Build don't link:
+extern "C" {
+ class A {
+ public:
+ void a();
+ };
+};
+
+void A::a() {}