| 1 |
// RUN: %clang -### --target=x86_64-linux-gnu %s 2>&1 | FileCheck %s -check-prefix=DEFAULT-LAYOUT |
| 2 |
// RUN: %clang -### --target=x86_64-windows-gnu %s 2>&1 | FileCheck %s -check-prefix=DEFAULT-LAYOUT |
| 3 |
// RUN: %clang -### --target=x86_64-windows-msvc %s 2>&1 | FileCheck %s -check-prefix=DEFAULT-LAYOUT |
| 4 |
// RUN: %clang -### -mms-bitfields %s 2>&1 | FileCheck %s -check-prefix=MICROSOFT-LAYOUT |
| 5 |
// RUN: %clang -### -mno-ms-bitfields %s 2>&1 | FileCheck %s -check-prefix=ITANIUM-LAYOUT |
| 6 |
// RUN: %clang -### -mno-ms-bitfields -mms-bitfields %s 2>&1 | FileCheck %s -check-prefix=MICROSOFT-LAYOUT |
| 7 |
// RUN: %clang -### -mms-bitfields -mno-ms-bitfields %s 2>&1 | FileCheck %s -check-prefix=ITANIUM-LAYOUT |
| 8 |
|
| 9 |
// DEFAULT-LAYOUT-NOT: -fms-layout-compatibility=itanium |
| 10 |
// DEFAULT-LAYOUT-NOT: -fms-layout-compatibility=microsoft |
| 11 |
// MICROSOFT-LAYOUT: -fms-layout-compatibility=microsoft |
| 12 |
// MICROSOFT-LAYOUT-NOT: -fms-layout-compatibility=itanium |
| 13 |
// ITANIUM-LAYOUT: -fms-layout-compatibility=itanium |
| 14 |
// ITANIUM-LAYOUT-NOT: -fms-layout-compatibility=microsoft |
| 15 |
|