From: Martin v. Löwis Date: Fri, 23 Oct 1998 08:53:32 +0000 (+0000) Subject: New test case. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1d5f42ab2bbe746c3b5b663d15c5f590a01fdb44;p=gcc.git New test case. From-SVN: r23246 --- 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 00000000000..4a87aef7e24 --- /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); +} +