diff options
Diffstat (limited to 'src/test/compile-fail/inherit-struct1.rs')
| -rw-r--r-- | src/test/compile-fail/inherit-struct1.rs | 3 | 
1 files changed, 2 insertions, 1 deletions
| diff --git a/src/test/compile-fail/inherit-struct1.rs b/src/test/compile-fail/inherit-struct1.rs index 00ea4b7783b..47f2b291187 100644 --- a/src/test/compile-fail/inherit-struct1.rs +++ b/src/test/compile-fail/inherit-struct1.rs @@ -11,7 +11,8 @@ // Test struct inheritance. #![feature(struct_inherit)] -struct S6 : ~S2; //~ ERROR not a struct + +struct S6 : int; //~ ERROR super-struct could not be resolved pub fn main() { } | 
