Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
template
/
dependent-tmpl1.C
blob: 7b800b6869a92010525141a91fe84c1c8818e702 [
file
] [
log
] [
blame
]
// PR c++/93085
// { dg-do compile { target c++11 } }
template
<
class
T
>
struct
G
{
template
<
T
>
static
int
foo
();
// #1
template
<int>
static
int
foo
();
// #2
int
x
=
foo
<
42
>();
// OK
};