blob: 8e0106d5ff17c5640de224cf68dee6f76a59ccd8 [file] [log] [blame]
Reid Klecknerae7b1c42017-01-04 18:50:51 +00001// 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: %clang --target=x86_64-linux -c -Wa,-mbig-obj %s -### 2>&1 | FileCheck %s --check-prefix=LINUX
4// RUN: %clang --target=x86_64-linux -c -Xassembler -mbig-obj %s -### 2>&1 | FileCheck %s --check-prefix=LINUX
Reid Klecknerc1afcd72017-01-04 18:16:32 +00005// WINDOWS-NOT: argument unused during compilation
6// LINUX: unsupported argument '-mbig-obj' to option '{{(Wa,|Xassembler)}}'