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
Update concepts branch to revision 131834
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
template
/
enum6.C
blob
9df6d41063b06c91b4387129b56ec97cda1d9a27
1
// PR c++/34774
2
3
template<int shifts>
4
struct shift {
5
enum {
6
n0 = (unsigned)shifts,
7
n = n0 ? 0 : n0,
8
n_comp = -n
9
} x;
10
};