Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
pr34056.C
blob: 9c5261da8a06afb8943a525a82e943f02259a383 [
file
] [
log
] [
blame
]
// PR c++/34056
// { dg-do compile { target c++11 } }
template
<
typename
...
T
>
struct
A
{
void
foo
(
T
*)
{
++
p
;
}
// { dg-error "not expanded|T" }
void
bar
(
T
**)
{
}
// { dg-error "not expanded|T" }
T
*
p
;
// { dg-error "not expanded|T" }
};