Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
gcc
/
testsuite
/
g++.dg
/
template
/
crash24.C
blob: 49b8c7e718d23cfe52523f68947d3a204578aab3 [
file
] [
log
] [
blame
]
// PR c++/17826
struct
A
{
template
<typename>
static
int
foo
();
};
template
<int>
struct
B
{};
template
<
typename
T
>
void
bar
()
{
B
<
sizeof
A
::
foo
<
T
>()>
b1
;
B
<
sizeof
A
::
foo
<
T
>()>
b2
;
}