Wattributes-10.c: Add -fno-common option on hppa*-*-hpux*.
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.robertl / eb32.C
bloba70c8f9702f6d69a73b946fc3c6689fa49eaa603
1 // { dg-do assemble  }
2 class A {
3 public:
4     void malloc(unsigned int);
5 };
7 void A::malloc(unsigned int) {}
9 void foo() {
10     A a;
11     a.malloc(3);    // <-- line 10