summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.jason/method.C
blob: 2de7b0c7b3236b7e95fd99a6cd89a440195ce91b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// { dg-do assemble  }
// Bug: pointer to pointer is treated as plain pointer.
// PRMS Id: 1767

class Foo {
public:
	void method();
};

void func(Foo ** ppFoo) {
	ppFoo->method();	// { dg-error "" } 
}