Commit 680498aa by Jason Merrill

new

From-SVN: r26395
parent aff08c18
// Test that stdcall doesn't prevent us from using op delete.
// Contributed by Jason Merrill <jason@cygnus.com>
// Skip if not target: i?86-*-*
struct A {
void operator delete (void *) __attribute__ ((stdcall));
};
void A::operator delete (void *) { }
int main()
{
A* ap = new A;
delete ap;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment