repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
* arm.c (FL_WBUF): Define.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.brendan
/
parse4.C
blob
3f201e8575ad2bae43c484cf4d006e7a8b859958
1
// { dg-do assemble }
2
3
class B
4
{
5
public:
6
B( int t ) {}
7
void f() {}
8
};
9
10
int g() { return 0; } // referenced below
11
12
int main()
13
{
14
int try1;
15
B( try1 ).f(); // no syntax error
16
B b( g() ); // no syntax error
17
B( ::g() ).f(); // no syntax error
18
B( g() ).f(); // no syntax error
19
}