blob: bad16020baa4d16c4ac0ac29f2fa6bf3182dc6f1 [file] [log] [blame]
// PR c++/27427
// { dg-do compile }
struct A;
template<A&> void foo(); // { dg-message "note" }
A a; // { dg-error "incomplete type" }
void bar()
{
foo<a>(); // { dg-error "(no matching function|could not convert)" }
}