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
PR tree-optimization/86415 - strlen() not folded for substrings within constant arrays
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
ext
/
underlying_type12.C
blob
050ecf270b8031d3970f2961a5bf97f6171bc504
1
// PR c++/79657
2
// { dg-do compile { target c++11 } }
3
4
enum A { x };
5
enum B { a = (__underlying_type (A)) 1 };
6
enum C { b = (__underlying_type (C)) 1 }; // { dg-error "incomplete" }