Debian Codegraph @

gcc/testsuite/g++.old-deja/g++.robertl/eb84.C

raw
1 // { dg-do run }
2 // Error: Internal Compiler error on GCC 2.7.2.3 & EGCS 1998/05/23 snapshot.
3
4 class A {
5 public:
6 enum { ONE, TWO, THREE };
7 };
8
9 template <const unsigned c1,const unsigned c2,const unsigned c3>
10 void f() {
11
12 }
13
14 int
15 main()
16 {
17 f<A::ONE,A::TWO,A::THREE>();
18 }