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
/
pr65954.C
blob
851660b90a75e8847a86d15d929cd9b7d734a8f8
1
// { dg-do compile { target c++11 } }
2
3
struct Shape {
4
enum class Type
5
{ Circle, Square };
6
};
7
8
9
void Foo (Shape &shape)
10
{
11
+shape.Type::NOPE; // { dg-error "is not a member of" }
12
}