Reid Kleckner | c1afcd7 | 2017-01-04 18:16:32 +0000 | [diff] [blame^] | 1 | // RUN: %clang --target=x86_64-windows -c -Wa,-mbig-obj %s 2>&1 | FileCheck %s --check-prefix=WINDOWS |
| 2 | // RUN: %clang --target=x86_64-windows -c -Xassembler -mbig-obj %s 2>&1 | FileCheck %s --check-prefix=WINDOWS |
| 3 | // RUN: not %clang --target=x86_64-linux -c -Wa,-mbig-obj %s 2>&1 | FileCheck %s --check-prefix=LINUX |
| 4 | // RUN: not %clang --target=x86_64-linux -c -Xassembler -mbig-obj %s 2>&1 | FileCheck %s --check-prefix=LINUX |
| 5 | // WINDOWS-NOT: argument unused during compilation |
| 6 | // LINUX: unsupported argument '-mbig-obj' to option '{{(Wa,|Xassembler)}}' |
| 7 | #ifdef _WIN32 |
| 8 | #warning "produce non-empty output for FileCheck" |
| 9 | #endif |