summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/ext/tmplattr8.C
blob: 4b8707aa538d311f4a04d5217e9e8147c988fa03 (plain)
1
2
3
4
5
6
7
8
// PR c++/28560

template<typename> struct A {};

template<int> struct B;

template<int N> struct C :
  A<typename B<N>::X __attribute__((unused))> {}; // { dg-warning "attribute" }