1 // { dg-do assemble } 2 // { dg-options "-Wno-builtin-declaration-mismatch" } 3 4 extern "C" void realloc(); 5 6 class bug { 7 public: 8 void realloc(int foo,int bar); 9 }; 10 f()11 void f() { 12 bug c; 13 c.realloc(50,50); 14 } 15 16