repo.or.cz
/
netbsd-mini2440.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Sync usage with man page.
[netbsd-mini2440.git]
/
gnu
/
dist
/
gcc4
/
gcc
/
testsuite
/
g++.dg
/
parse
/
parens1.C
blob
f63f50143202de9095abae1f1edf5225ef58a4ce
1
/* PR c++/8237 */
2
/* { dg-do compile } */
3
class A {
4
public:
5
A() { }
6
};
7
8
class B {
9
public:
10
B(A a) { }
11
void form() { }
12
};
13
14
int main() {
15
// This used to give a parse error.
16
B(A()).form();
17
}
18