repo.or.cz
/
netbsd-mini2440.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
No empty .Rs/.Re
[netbsd-mini2440.git]
/
gnu
/
dist
/
gcc4
/
gcc
/
testsuite
/
g++.dg
/
template
/
static18.C
blob
2a2ace9391499ea6597fed09dc7afe26bc0912f5
1
// PR c++/23914
2
3
template <class T>
4
struct foo_template {
5
static const unsigned complexity = 0;
6
};
7
8
template <int x> struct STATIC_ASSERTION {};
9
10
void gcc_402_problem_minimal()
11
{
12
sizeof(STATIC_ASSERTION< foo_template<int>::complexity >);
13
}