summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/parse/undefined6.C
blob: bc8a86d1588675e8d5979dd744b36932aad0d66f (plain)
1
2
3
4
5
6
// PR c++/8596
// Origin: Wolfgang Bangerth <bangerth@ticam.utexas.edu>
// { dg-do compile }

template <int i> struct A {};
template <int i> struct B : A<x>{}; // { dg-error "" }