]> git.lizzy.rs Git - rust.git/commitdiff
Rollup merge of #23099 - brson:lint-cstack, r=alexcrichton
authorManish Goregaokar <manishsmail@gmail.com>
Fri, 6 Mar 2015 03:33:09 +0000 (09:03 +0530)
committerManish Goregaokar <manishsmail@gmail.com>
Fri, 6 Mar 2015 16:52:29 +0000 (22:22 +0530)
src/test/run-pass/lint-cstack.rs [deleted file]

diff --git a/src/test/run-pass/lint-cstack.rs b/src/test/run-pass/lint-cstack.rs
deleted file mode 100644 (file)
index f180ffc..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
-// Copyright 2013 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 crate libc;
-
-extern {
-    fn rust_get_test_int() -> libc::intptr_t;
-}
-
-trait A {
-    fn foo(&self) {
-        unsafe {
-            rust_get_test_int();
-        }
-    }
-}
-
-pub fn main() {
-}