diff options
| author | Nathan Corbyn <me@nathancorbyn.com> | 2020-06-08 09:37:11 +0100 |
|---|---|---|
| committer | Nathan Corbyn <me@nathancorbyn.com> | 2020-06-15 09:40:56 +0100 |
| commit | 6b7cacb2c99567a76cf0d5ce6833a129c8bb8814 (patch) | |
| tree | f0a358cb6e0cb9ea6a0aeedc366b00dd66b3a4a9 /src/test/codegen/export-no-mangle.rs | |
| parent | f62903b74a8630fa62e721f69e6621d1d441e7f1 (diff) | |
| download | rust-6b7cacb2c99567a76cf0d5ce6833a129c8bb8814.tar.gz rust-6b7cacb2c99567a76cf0d5ce6833a129c8bb8814.zip | |
Export all fns with extern indicator
Diffstat (limited to 'src/test/codegen/export-no-mangle.rs')
| -rw-r--r-- | src/test/codegen/export-no-mangle.rs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/test/codegen/export-no-mangle.rs b/src/test/codegen/export-no-mangle.rs index 78d41e4be0a..793636bb1b0 100644 --- a/src/test/codegen/export-no-mangle.rs +++ b/src/test/codegen/export-no-mangle.rs @@ -18,4 +18,9 @@ mod private { // CHECK: void @bar() #[export_name = "bar"] extern fn bar() {} + + // CHECK: void @baz() + #[export_name = "baz"] + #[inline] + extern fn baz() {} } |
