]> gcc.gnu.org Git - gcc.git/blob - gcc/testsuite/g++.old-deja/g++.pt/enum8.C
static11.C: Add xtensa-*-elf* to the list of targets to skip.
[gcc.git] / gcc / testsuite / g++.old-deja / g++.pt / enum8.C
1 // Build don't link:
2
3 template <int I>
4 void f();
5
6 template <>
7 void f<4>() {}
8
9 template <class T>
10 struct S
11 {
12 enum E { a = 1, b = a + 3 };
13 };
14
15 int main()
16 {
17 f<S<int>::b>();
18 }
This page took 0.037946 seconds and 5 git commands to generate.