diff options
Diffstat (limited to 'tests/assembly-llvm/nvptx-arch-default.rs')
| -rw-r--r-- | tests/assembly-llvm/nvptx-arch-default.rs | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/assembly-llvm/nvptx-arch-default.rs b/tests/assembly-llvm/nvptx-arch-default.rs new file mode 100644 index 00000000000..a621fd6dcb2 --- /dev/null +++ b/tests/assembly-llvm/nvptx-arch-default.rs @@ -0,0 +1,12 @@ +//@ assembly-output: ptx-linker +//@ compile-flags: --crate-type cdylib -Z unstable-options -Clinker-flavor=llbc +//@ only-nvptx64 + +#![no_std] + +//@ aux-build: breakpoint-panic-handler.rs +extern crate breakpoint_panic_handler; + +// Verify default target arch with ptx-linker. +// CHECK: .target sm_30 +// CHECK: .address_size 64 |
