blob: 76e873255eda5f5c0447b98d9867338af14f425b (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
// Bug: g++ parses the declaration of 'char A::* foo' below as a
// declaration of 'char A'.
// Build don't link:
class A { };
typedef int foo;
void f ()
{
char A::* foo;
foo = 0; // gets bogus error - parsing blunder
}
|