summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/cpp0x/pr34058.C
blob: 0cf1faec73f02e54b1ce9e1242e4e0131b05d190 (plain)
1
2
3
4
5
6
7
8
9
10
// PR c++/34058
// { dg-do compile }
// { dg-options "-std=c++0x" }

template <typename...T> struct A
{
  typedef T X;	// { dg-error "not expanded|T" }
};

A<int> a;