OSDN Git Service

New tests from Klaus-Georg.
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.old-deja / g++.robertl / eb84.C
1 // Error: Internal Compiler error on GCC 2.7.2.3 & EGCS 1998/05/23 snapshot.
2
3 class A {
4 public:
5         enum { ONE, TWO, THREE };
6 };
7
8 template <const unsigned c1,const unsigned c2,const unsigned c3>
9 void f() {
10
11 }
12
13 int
14 main()
15 {
16         f<A::ONE,A::TWO,A::THREE>();
17 }