Dead
[official-gcc.git] / gomp-20050608-branch / gcc / testsuite / g++.dg / template / sizeof6.C
blob3ef3794b5b7f100d3c1e219740c9e32c3c6dfbf8
1 // { dg-do compile }
2 // Contributed by Giovanni Bajo <giovannibajo at gcc dot gnu dot org>
3 // PR c++/13683: bogus warning about passing non-PODs through ellipsis
5 struct B {};
6 struct NonPOD : B {};
8 struct A
10   static int check(...);
11   static NonPOD GetNonPOD(void);
12   enum { value = sizeof(A::check(A::GetNonPOD())) };