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
modula2: Reimplement parameter declaration and checking.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
template
/
crash24.C
blob
49b8c7e718d23cfe52523f68947d3a204578aab3
1
// PR c++/17826
2
3
struct A
4
{
5
template<typename> static int foo();
6
};
7
8
template<int> struct B {};
9
10
template<typename T> void bar()
11
{
12
B<sizeof A::foo<T>()> b1;
13
B<sizeof A::foo<T>()> b2;
14
}