Sign in
chromium
/
chromiumos
/
third_party
/
gcc
/
07db158720e1c276cc3a5c0d9aad2989aea3b28d
/
.
/
gcc
/
testsuite
/
g++.dg
/
template
/
crash105.C
blob: 649bf8b77e12b149ee88da50f11032c24ef6b4e3 [
file
] [
log
] [
blame
]
// PR c++/44118
template
<
typename
>
struct
S
;
template
<
typename
>
struct
S
<
int
>;
// { dg-error "template" }
template
<
typename
>
struct
S
<
int
>
{
void
f
();
};
void
f
()
{
S
<
int
>::
f
();
// { dg-error "cannot call" }
}