diff options
author | Daniel Mueller <deso@posteo.net> | 2018-01-15 09:45:36 -0800 |
---|---|---|
committer | Daniel Mueller <deso@posteo.net> | 2018-01-15 09:45:36 -0800 |
commit | 8fd0d6485b500ccead7990858b76c034c4c76faf (patch) | |
tree | 15f65b01ca8e08408f2670dd406c67d22af4031e /gcc/gcc-test/tests/all.rs | |
parent | f3149d7f2802711791c490b71313aafc55f4809c (diff) | |
download | nitrocli-8fd0d6485b500ccead7990858b76c034c4c76faf.tar.gz nitrocli-8fd0d6485b500ccead7990858b76c034c4c76faf.tar.bz2 |
Delete subrepo gcc/:gcc
Diffstat (limited to 'gcc/gcc-test/tests/all.rs')
-rw-r--r-- | gcc/gcc-test/tests/all.rs | 60 |
1 files changed, 0 insertions, 60 deletions
diff --git a/gcc/gcc-test/tests/all.rs b/gcc/gcc-test/tests/all.rs deleted file mode 100644 index 7b70f4e..0000000 --- a/gcc/gcc-test/tests/all.rs +++ /dev/null @@ -1,60 +0,0 @@ -extern crate gcc_test; - -use gcc_test::*; - -#[link(name = "OptLinkage", kind = "static")] -extern "C" { - fn answer() -> i32; -} - -#[test] -fn foo_here() { - unsafe { - assert_eq!(foo(), 4); - } -} - -#[test] -fn bar_here() { - unsafe { - assert_eq!(bar1(), 5); - assert_eq!(bar2(), 6); - } -} - -#[test] -fn asm_here() { - unsafe { - assert_eq!(asm(), 7); - } -} - -#[test] -fn baz_here() { - unsafe { - assert_eq!(baz(), 8); - } -} - -#[test] -#[cfg(windows)] -fn windows_here() { - unsafe { - windows(); - } -} - -#[test] -#[cfg(target_env = "msvc")] -fn msvc_here() { - unsafe { - msvc(); - } -} - -#[test] -fn opt_linkage() { - unsafe { - assert_eq!(answer(), 42); - } -} |