summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.mike/p8175.C
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/g++.old-deja/g++.mike/p8175.C')
-rw-r--r--gcc/testsuite/g++.old-deja/g++.mike/p8175.C15
1 files changed, 15 insertions, 0 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.mike/p8175.C b/gcc/testsuite/g++.old-deja/g++.mike/p8175.C
new file mode 100644
index 000000000..23006e72a
--- /dev/null
+++ b/gcc/testsuite/g++.old-deja/g++.mike/p8175.C
@@ -0,0 +1,15 @@
+// { dg-do assemble }
+// prms-id: 8175
+
+class AtoBoolC {
+public:
+ AtoBoolC(const AtoBoolC& aBool);
+private:
+ int myValue;
+};
+
+struct TestCase {
+ AtoBoolC is_call_on_unack;
+};
+
+static TestCase the_cases[] = { { 0 } }; // { dg-error "" }