Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
other
/
pr28304.C
blob: 9a0e9cdd791cadeb9d0bba4a11b8c9f09480aacc [
file
] [
log
] [
blame
]
// Test to make sure we do not ICE on this invalid program.
struct
A
{};
template
<
typename
T
>
void
A
::
foo
(
T
)
{}
// { dg-error "" }
void
bar
()
{
A
::
foo
(
1
);
// { dg-error "not a member" }
}