mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-03-11 06:36:52 +08:00
New test case.
From-SVN: r23246
This commit is contained in:
parent
abef87891c
commit
1d5f42ab2b
14
gcc/testsuite/g++.old-deja/g++.martin/conv1.C
Normal file
14
gcc/testsuite/g++.old-deja/g++.martin/conv1.C
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
// excess errors test - XFAIL
|
||||||
|
struct S{
|
||||||
|
operator bool()
|
||||||
|
{
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
int main()
|
||||||
|
{
|
||||||
|
S a;
|
||||||
|
if (S &b = a);
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user