about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2014-05-20 21:11:28 -0700
committerAlex Crichton <alex@alexcrichton.com>2014-05-20 21:14:20 -0700
commitd3a0471490493176e742c545fb505a35ada63b60 (patch)
tree433afa1885b0fe2ae87ad6947021dc4f0004d9f6
parent8505b14b00420605679b39d9b23484b8b0820364 (diff)
downloadrust-d3a0471490493176e742c545fb505a35ada63b60.tar.gz
rust-d3a0471490493176e742c545fb505a35ada63b60.zip
test: Add a test for fixed issue #10763
Closes #10763
-rw-r--r--src/test/run-pass/issue-10763.rs13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/test/run-pass/issue-10763.rs b/src/test/run-pass/issue-10763.rs
new file mode 100644
index 00000000000..92ea6026ff6
--- /dev/null
+++ b/src/test/run-pass/issue-10763.rs
@@ -0,0 +1,13 @@
+// Copyright 2014 The Rust Project Developers. See the COPYRIGHT
+// file at the top-level directory of this distribution and at
+// http://rust-lang.org/COPYRIGHT.
+//
+// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
+// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
+// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
+// option. This file may not be copied, modified, or distributed
+// except according to those terms.
+
+extern "Rust" fn foo() {}
+
+fn main() {}