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