repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Be careful about comdat boundary in ICF (PR ipa/82352).
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
enum26.C
blob
3883da92afffb5dd5479b159218cd997a8b6945c
1
// PR c++/54216
2
// { dg-do compile { target c++11 } }
3
// { dg-options "-pedantic" }
4
5
enum {}; // { dg-warning "empty unnamed" }
6
7
enum class {}; // { dg-error "unnamed" }
8
9
enum class { x }; // { dg-error "unnamed" }