OSDN Git Service

Add NIOS2 support. Code from SourceyG++.
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.dg / template / friend33.C
1 // { dg-do compile }
2 // PR c++/18733: Validation of template headers in friends
3
4 template<int> struct A
5 {
6   void foo();
7 };
8
9 struct B
10 {
11   friend void A<0>::foo();
12 };