summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.robertl/eb32.C
blob: a70c8f9702f6d69a73b946fc3c6689fa49eaa603 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// { dg-do assemble  }
class A {
public:
    void malloc(unsigned int);
};

void A::malloc(unsigned int) {}

void foo() {
    A a;
    a.malloc(3);    // <-- line 10
}