summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/ext/attrib25.C
blob: aeffdffe30a7ff4fe6c7b099366c01cc0e4abd32 (plain)
1
2
3
4
5
6
7
8
9
10
11
// PR c++/28559

template<typename T> struct A
{
  struct B;
};

struct C
{
  template<typename T> friend struct __attribute__((packed)) A<T>::B; // { dg-warning "uninstantiated" }
};