OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
PR c++/30849
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.dg
/
parse
/
crash2.C
1
/* { dg-do compile } */
2
int main(void)
3
{
4
char x, y;
5
if ('A' == x) && ('B' == y)) { } /* { dg-error "" } */
6
if (x == 'A') && (y == 'B')) { } /* { dg-error "" } */
7
}