OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
PR c++/45437
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.dg
/
expr
/
call3.C
1
// PR c++/26036
2
// Origin: <ben@pc-doctor.com>
3
// { dg-do compile }
4
5
struct A
6
{
7
int i;
8
};
9
10
A foo(int); /* { dg-message "note: declared here" } */
11
12
int j = foo().i; // { dg-error "too few arguments" }