OSDN Git Service

Revert XFAIL removal.
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.old-deja / g++.pt / t38.C
1 // Build don't link: 
2 // Special g++ Options:
3 extern "C" int printf (const char *, ...);
4
5 template<class X> struct A {
6   A (int, char);
7   ~A ();
8   A (X *, float);
9 };
10
11 template<class Y> inline A<Y>::A (int i, char c) {
12   printf ("%d, %d\n", i, c);
13 }
14 template<class Z> A<Z>::~A() {}
15 template<class W> A<W>::A (W * d, float f) {
16   printf ("%x, %e\n", d, f);
17 }
18
19 A<void> avoid (9, 0);