Sign in
llvm
/
llvm-archive
/
f8b4f79771a41ee0a0f02ac90619d37ccd834915
/
.
/
clang-tests
/
gcc-4_2-testsuite
/
src
/
g++.dg
/
template
/
incomplete2.C
blob: 23d393e99df097cd1201df6f4ccff0a535ebaf00 [
file
] [
log
] [
blame
]
// PR c++/27427
// { dg-do compile }
struct
A
;
template
<
A
&>
void
foo
();
A a
;
// { dg-error "incomplete type" }
void
bar
()
{
foo
<a>
();
// { dg-error "no matching function" }
}