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 c++/84702] ICE with default tmpl arg of overload set
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
template
/
bitfield2.C
blob
e9a5320d9ec2dcdf6a93bafc8f965c297f24196f
1
// PR c++/25503
2
3
template<int N>
4
struct Test
5
{
6
Test()
7
{
8
typedef struct StaticAssert {unsigned condition : (N); } XXX; // { dg-error "zero width" }
9
}
10
};
11
12
int
13
main()
14
{
15
Test<0> T;
16
}