summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/template/error24.C
blob: 9ce5cbbc2f9531aeb61a18350de2d6da7001f290 (plain)
1
2
3
4
5
6
7
8
// PR c++/30863

template <typename T>
struct s {};

void f() {
  unsigned s<int> x; // { dg-error "invalid" }
}