diff options
Diffstat (limited to 'tests/assembly/nvptx-arch-default.rs')
-rw-r--r-- | tests/assembly/nvptx-arch-default.rs | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/assembly/nvptx-arch-default.rs b/tests/assembly/nvptx-arch-default.rs new file mode 100644 index 000000000..8a71a6370 --- /dev/null +++ b/tests/assembly/nvptx-arch-default.rs @@ -0,0 +1,13 @@ +// assembly-output: ptx-linker +// compile-flags: --crate-type cdylib +// only-nvptx64 +// ignore-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 |