summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/parse/dupl-tmpl-args1.C
blob: a7beabc90824233b35118afcc6015a03ee4afc7e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// PR c++/8928
// Origin: <sebor@roguewave.com>
// { dg-do compile }

namespace N
{

template <typename T, typename U> struct A {};
typedef A<int, int> B;

}

N::B<int, int> a; // { dg-error "" }