[clang] Handle __declspec() attributes in using
[llvm-project.git] / clang / test / Driver / m68k-features.cpp
blob0ee9edcfd16472f81d912d1203d6f24a1e43cbe2
1 // REQUIRES: m68k-registered-target
2 // RUN: %clang -target m68k -ffixed-a0 -### %s 2> %t
3 // RUN: FileCheck --check-prefix=CHECK-FIXED-A0 < %t %s
4 // CHECK-FIXED-A0: "-target-feature" "+reserve-a0"
6 // RUN: %clang -target m68k -ffixed-a1 -### %s 2> %t
7 // RUN: FileCheck --check-prefix=CHECK-FIXED-A1 < %t %s
8 // CHECK-FIXED-A1: "-target-feature" "+reserve-a1"
10 // RUN: %clang -target m68k -ffixed-a2 -### %s 2> %t
11 // RUN: FileCheck --check-prefix=CHECK-FIXED-A2 < %t %s
12 // CHECK-FIXED-A2: "-target-feature" "+reserve-a2"
14 // RUN: %clang -target m68k -ffixed-a3 -### %s 2> %t
15 // RUN: FileCheck --check-prefix=CHECK-FIXED-A3 < %t %s
16 // CHECK-FIXED-A3: "-target-feature" "+reserve-a3"
18 // RUN: %clang -target m68k -ffixed-a4 -### %s 2> %t
19 // RUN: FileCheck --check-prefix=CHECK-FIXED-A4 < %t %s
20 // CHECK-FIXED-A4: "-target-feature" "+reserve-a4"
22 // RUN: %clang -target m68k -ffixed-a5 -### %s 2> %t
23 // RUN: FileCheck --check-prefix=CHECK-FIXED-A5 < %t %s
24 // CHECK-FIXED-A5: "-target-feature" "+reserve-a5"
26 // RUN: %clang -target m68k -ffixed-a6 -### %s 2> %t
27 // RUN: FileCheck --check-prefix=CHECK-FIXED-A6 < %t %s
28 // CHECK-FIXED-A6: "-target-feature" "+reserve-a6"
30 // RUN: %clang -target m68k -ffixed-d0 -### %s 2> %t
31 // RUN: FileCheck --check-prefix=CHECK-FIXED-D0 < %t %s
32 // CHECK-FIXED-D0: "-target-feature" "+reserve-d0"
34 // RUN: %clang -target m68k -ffixed-d1 -### %s 2> %t
35 // RUN: FileCheck --check-prefix=CHECK-FIXED-D1 < %t %s
36 // CHECK-FIXED-D1: "-target-feature" "+reserve-d1"
38 // RUN: %clang -target m68k -ffixed-d2 -### %s 2> %t
39 // RUN: FileCheck --check-prefix=CHECK-FIXED-D2 < %t %s
40 // CHECK-FIXED-D2: "-target-feature" "+reserve-d2"
42 // RUN: %clang -target m68k -ffixed-d3 -### %s 2> %t
43 // RUN: FileCheck --check-prefix=CHECK-FIXED-D3 < %t %s
44 // CHECK-FIXED-D3: "-target-feature" "+reserve-d3"
46 // RUN: %clang -target m68k -ffixed-d4 -### %s 2> %t
47 // RUN: FileCheck --check-prefix=CHECK-FIXED-D4 < %t %s
48 // CHECK-FIXED-D4: "-target-feature" "+reserve-d4"
50 // RUN: %clang -target m68k -ffixed-d5 -### %s 2> %t
51 // RUN: FileCheck --check-prefix=CHECK-FIXED-D5 < %t %s
52 // CHECK-FIXED-D5: "-target-feature" "+reserve-d5"
54 // RUN: %clang -target m68k -ffixed-d6 -### %s 2> %t
55 // RUN: FileCheck --check-prefix=CHECK-FIXED-D6 < %t %s
56 // CHECK-FIXED-D6: "-target-feature" "+reserve-d6"
58 // RUN: %clang -target m68k -ffixed-d7 -### %s 2> %t
59 // RUN: FileCheck --check-prefix=CHECK-FIXED-D7 < %t %s
60 // CHECK-FIXED-D7: "-target-feature" "+reserve-d7"