New test case.
authorMartin v. Löwis <loewis@gcc.gnu.org>
Fri, 23 Oct 1998 08:53:32 +0000 (08:53 +0000)
committerMartin v. Löwis <loewis@gcc.gnu.org>
Fri, 23 Oct 1998 08:53:32 +0000 (08:53 +0000)
From-SVN: r23246

gcc/testsuite/g++.old-deja/g++.martin/conv1.C [new file with mode: 0644]

diff --git a/gcc/testsuite/g++.old-deja/g++.martin/conv1.C b/gcc/testsuite/g++.old-deja/g++.martin/conv1.C
new file mode 100644 (file)
index 0000000..4a87aef
--- /dev/null
@@ -0,0 +1,14 @@
+// excess errors test - XFAIL
+struct S{
+  operator bool()
+  {
+    return true;
+  }
+};
+
+int main()
+{
+  S a;
+  if (S &b = a);
+}
+