77// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
88// option. This file may not be copied, modified, or distributed
99// except according to those terms.
10-
10+ // ignore-tidy-linelength
1111// gate-test-intrinsics
1212// gate-test-platform_intrinsics
1313// gate-test-abi_vectorcall
1414// gate-test-abi_thiscall
1515// gate-test-abi_ptx
1616// gate-test-abi_x86_interrupt
17+ // gate-test-abi_amdgpu_kernel
1718
1819// Functions
1920extern "rust-intrinsic" fn f1 ( ) { } //~ ERROR intrinsics are subject to change
@@ -24,6 +25,7 @@ extern "msp430-interrupt" fn f5() {} //~ ERROR msp430-interrupt ABI is experimen
2425extern "ptx-kernel" fn f6 ( ) { } //~ ERROR PTX ABIs are experimental and subject to change
2526extern "x86-interrupt" fn f7 ( ) { } //~ ERROR x86-interrupt ABI is experimental
2627extern "thiscall" fn f8 ( ) { } //~ ERROR thiscall is experimental and subject to change
28+ extern "amdgpu-kernel" fn f9 ( ) { } //~ ERROR amdgpu-kernel ABI is experimental and subject to change
2729
2830// Methods in trait definition
2931trait Tr {
@@ -35,6 +37,7 @@ trait Tr {
3537 extern "ptx-kernel" fn m6 ( ) ; //~ ERROR PTX ABIs are experimental and subject to change
3638 extern "x86-interrupt" fn m7 ( ) ; //~ ERROR x86-interrupt ABI is experimental
3739 extern "thiscall" fn m8 ( ) ; //~ ERROR thiscall is experimental and subject to change
40+ extern "amdgpu-kernel" fn m9 ( ) ; //~ ERROR amdgpu-kernel ABI is experimental and subject to change
3841
3942 extern "rust-intrinsic" fn dm1 ( ) { } //~ ERROR intrinsics are subject to change
4043 extern "platform-intrinsic" fn dm2 ( ) { } //~ ERROR platform intrinsics are experimental
@@ -44,6 +47,7 @@ trait Tr {
4447 extern "ptx-kernel" fn dm6 ( ) { } //~ ERROR PTX ABIs are experimental and subject to change
4548 extern "x86-interrupt" fn dm7 ( ) { } //~ ERROR x86-interrupt ABI is experimental
4649 extern "thiscall" fn dm8 ( ) { } //~ ERROR thiscall is experimental and subject to change
50+ extern "amdgpu-kernel" fn dm9 ( ) { } //~ ERROR amdgpu-kernel ABI is experimental and subject to change
4751}
4852
4953struct S ;
@@ -58,6 +62,7 @@ impl Tr for S {
5862 extern "ptx-kernel" fn m6 ( ) { } //~ ERROR PTX ABIs are experimental and subject to change
5963 extern "x86-interrupt" fn m7 ( ) { } //~ ERROR x86-interrupt ABI is experimental
6064 extern "thiscall" fn m8 ( ) { } //~ ERROR thiscall is experimental and subject to change
65+ extern "amdgpu-kernel" fn m9 ( ) { } //~ ERROR amdgpu-kernel ABI is experimental and subject to change
6166}
6267
6368// Methods in inherent impl
@@ -70,6 +75,7 @@ impl S {
7075 extern "ptx-kernel" fn im6 ( ) { } //~ ERROR PTX ABIs are experimental and subject to change
7176 extern "x86-interrupt" fn im7 ( ) { } //~ ERROR x86-interrupt ABI is experimental
7277 extern "thiscall" fn im8 ( ) { } //~ ERROR thiscall is experimental and subject to change
78+ extern "amdgpu-kernel" fn im9 ( ) { } //~ ERROR amdgpu-kernel ABI is experimental and subject to change
7379}
7480
7581// Function pointer types
@@ -81,6 +87,7 @@ type A5 = extern "msp430-interrupt" fn(); //~ ERROR msp430-interrupt ABI is expe
8187type A6 = extern "ptx-kernel" fn ( ) ; //~ ERROR PTX ABIs are experimental and subject to change
8288type A7 = extern "x86-interrupt" fn ( ) ; //~ ERROR x86-interrupt ABI is experimental
8389type A8 = extern "thiscall" fn ( ) ; //~ ERROR thiscall is experimental and subject to change
90+ type A9 = extern "amdgpu-kernel" fn ( ) ; //~ ERROR amdgpu-kernel ABI is experimental and subject to change
8491
8592// Foreign modules
8693extern "rust-intrinsic" { } //~ ERROR intrinsics are subject to change
@@ -91,5 +98,6 @@ extern "msp430-interrupt" {} //~ ERROR msp430-interrupt ABI is experimental
9198extern "ptx-kernel" { } //~ ERROR PTX ABIs are experimental and subject to change
9299extern "x86-interrupt" { } //~ ERROR x86-interrupt ABI is experimental
93100extern "thiscall" { } //~ ERROR thiscall is experimental and subject to change
101+ extern "amdgpu-kernel" { } //~ ERROR amdgpu-kernel ABI is experimental and subject to change
94102
95103fn main ( ) { }
0 commit comments