Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
nondeduced7.C
blob: eb5d5faf4936cc10154e4789124da199a644575c [
file
] [
log
] [
blame
]
// PR c++/58836
// { dg-do compile { target c++11 } }
template
<
typename
,
int
>
struct
A
;
template
<
typename
T
>
struct
A
<
T
,
T
{}>
{};
// { dg-error "partial specialization|involves template parameter" }
A
<
int
,
0
>
a
;