Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
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
;
}