C++: fix-it hint for missing "typename" (PR c++/63392)
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.ext / attrib2.C
blobc79677b1f6acd849aff1a60f100419523202548e
1 // { dg-do run { target { { i?86-*-* x86_64-*-* } && ia32 } } }
2 // Test that stdcall doesn't prevent us from using op delete.
3 // Contributed by Jason Merrill <jason@cygnus.com>
5 struct A {
6   void operator delete (void *) __attribute__ ((stdcall));
7 };
9 void A::operator delete (void *) { }
11 int main()
13   A* ap = new A;
14   delete ap;