Sign in
gnu
/
gcc.git
/
refs/heads/trunk
/
.
/
gcc
/
testsuite
/
rust
/
compile
/
method1.rs
blob: 3741c61b07693e44cca3177fd34b4049e9a69c70 [
file
] [
log
] [
blame
]
struct
Foo
(
i32
);
impl
Foo
{
fn
test
()
{}
}
pub
fn
main
()
{
let
a
;
a
=
Foo
(
123
);
a
.
test
();
// { dg-error "no method named .test. found in the current scope" "" { target *-*-* } .-1 }
}