about summary refs log tree commit diff
path: root/src/test/run-pass/tuple-struct-constructor-pointer.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2014-02-23 19:26:53 -0800
committerbors <bors@rust-lang.org>2014-02-23 19:26:53 -0800
commit3c2650b4d570bee29332e75109687bc3d5d05b5c (patch)
tree0132d5e538deebea43c06962c904e3013a862c8c /src/test/run-pass/tuple-struct-constructor-pointer.rs
parent7cc6b5e0a3a2038d66301906f76cdb778304a3bd (diff)
parent317a253b22a512fad46c3749ea86d9674ff18453 (diff)
downloadrust-3c2650b4d570bee29332e75109687bc3d5d05b5c.tar.gz
rust-3c2650b4d570bee29332e75109687bc3d5d05b5c.zip
auto merge of #12328 : nick29581/rust/abi, r=alexcrichton
Diffstat (limited to 'src/test/run-pass/tuple-struct-constructor-pointer.rs')
-rw-r--r--src/test/run-pass/tuple-struct-constructor-pointer.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/run-pass/tuple-struct-constructor-pointer.rs b/src/test/run-pass/tuple-struct-constructor-pointer.rs
index e51e6ffd52a..097fdbf699b 100644
--- a/src/test/run-pass/tuple-struct-constructor-pointer.rs
+++ b/src/test/run-pass/tuple-struct-constructor-pointer.rs
@@ -14,8 +14,8 @@ struct Foo(int);
 struct Bar(int, int);
 
 pub fn main() {
-    let f: extern fn(int) -> Foo = Foo;
-    let g: extern fn(int, int) -> Bar = Bar;
+    let f: fn(int) -> Foo = Foo;
+    let g: fn(int, int) -> Bar = Bar;
     assert_eq!(f(42), Foo(42));
     assert_eq!(g(4, 7), Bar(4, 7));
 }