projects
/
gcc.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
c++: Fix tentative parsing of enum-specifier [PR96077]
[gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
parse
/
enum14.C
1
// PR c++/96077
2
3
int main ()
4
{
5
enum { E = (2 } e; // { dg-error "expected" }
6
enum { F = true ? 2 : (3 /* missing ")" here */ } f; // { dg-error "expected" }
7
}