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