aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorMartin v. Löwis <loewis@gcc.gnu.org>1998-10-23 08:53:32 +0000
committerMartin v. Löwis <loewis@gcc.gnu.org>1998-10-23 08:53:32 +0000
commit1d5f42ab2bbe746c3b5b663d15c5f590a01fdb44 (patch)
tree456d3810eab8d03095c9a37ec47ce0b3ab2efb1d /gcc
parentabef87891cf580e9eb275a1f0c399a47d048daa5 (diff)
downloadgcc-1d5f42ab2bbe746c3b5b663d15c5f590a01fdb44.zip
gcc-1d5f42ab2bbe746c3b5b663d15c5f590a01fdb44.tar.gz
gcc-1d5f42ab2bbe746c3b5b663d15c5f590a01fdb44.tar.bz2
New test case.
From-SVN: r23246
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/g++.old-deja/g++.martin/conv1.C14
1 files changed, 14 insertions, 0 deletions
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
index 0000000..4a87aef
--- /dev/null
+++ b/gcc/testsuite/g++.old-deja/g++.martin/conv1.C
@@ -0,0 +1,14 @@
+// excess errors test - XFAIL
+struct S{
+ operator bool()
+ {
+ return true;
+ }
+};
+
+int main()
+{
+ S a;
+ if (S &b = a);
+}
+