OSDN Git Service

Add NIOS2 support. Code from SourceyG++.
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.dg / template / typename11.C
1 // PR c++/28999
2
3 namespace N
4 {
5   template<int> void foo();
6 }
7
8 template<int> struct A
9 {
10   friend void typename N::foo<0>(); // { dg-error "type|expected" }
11 };