Sign in
llvm
/
llvm-archive
/
1456578521548c1ea3e191fcd25bb39efd8203cd
/
.
/
llvm-gcc-4.2
/
gcc
/
testsuite
/
g++.dg
/
expr
/
call3.C
blob: 01f354a669c0c7472809ecc5654cf382b252a96e [
file
] [
log
] [
blame
]
// PR c++/26036
// Origin: <ben@pc-doctor.com>
// { dg-do compile }
struct
A
{
int
i
;
};
A foo
(
int
);
// { dg-error "too few arguments" }
int
j
=
foo
().
i
;
// { dg-error "at this point" }