☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.old-deja
/
g++.jason
/
pmem.C
☽
☼
gcc/testsuite/g++.old-deja/g++.jason/pmem.C
code
plain
raw
1
// { dg-do assemble }
2
// Bug: g++ parses the declaration of 'char A::* foo' below as a
3
// declaration of 'char A'.
4
5
class A { };
6
typedef int foo;
7
void f ()
8
{
9
char A::* foo;
10
foo = 0; // { dg-bogus "" } parsing blunder
11
}