blob: 5a9da92f8ddd713f1e79977d94392e7a03bc1ab7 [file] [log] [blame]
// { dg-do assemble }
// { dg-options "" }
extern "C" int printf (const char *, ...);
template<class X> struct A {
A (int, char);
~A ();
A (X *, float);
};
template<class Y> inline A<Y>::A (int i, char c) {
printf ("%d, %d\n", i, c);
}
template<class Z> A<Z>::~A() {}
template<class W> A<W>::A (W * d, float f) {
printf ("%x, %e\n", d, f);
}
A<void> avoid (9, 0);