aboutsummaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
Diffstat (limited to 'src/test')
-rw-r--r--src/test/run-pass/method-overriding.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/run-pass/method-overriding.rs b/src/test/run-pass/method-overriding.rs
index 3fbb53ff..c76123fe 100644
--- a/src/test/run-pass/method-overriding.rs
+++ b/src/test/run-pass/method-overriding.rs
@@ -24,7 +24,7 @@ fn main() {
};
// Extending an object with a new field
- auto my_c = obj(quux) { with my_a } ;
+ auto my_c = obj(int quux) { with my_a } ;
// Should this be legal?
auto my_d = obj() { with my_a } ;