diff options
| author | Dimitry Andric <dim@FreeBSD.org> | 2017-01-04 22:11:23 +0000 |
|---|---|---|
| committer | Dimitry Andric <dim@FreeBSD.org> | 2017-01-04 22:11:23 +0000 |
| commit | 0c75eea8f661a82866688fd1fc4465883c4dd7d5 (patch) | |
| tree | 96848f3b7cc25f95142a52b6dd2ba93f1de6e413 /test/Driver/mbig-obj.c | |
| parent | bab175ec4b075c8076ba14c762900392533f6ee4 (diff) | |
Diffstat (limited to 'test/Driver/mbig-obj.c')
| -rw-r--r-- | test/Driver/mbig-obj.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/Driver/mbig-obj.c b/test/Driver/mbig-obj.c new file mode 100644 index 000000000000..8e0106d5ff17 --- /dev/null +++ b/test/Driver/mbig-obj.c @@ -0,0 +1,6 @@ +// RUN: %clang --target=x86_64-windows -c -Wa,-mbig-obj %s -### 2>&1 | FileCheck %s --check-prefix=WINDOWS +// RUN: %clang --target=x86_64-windows -c -Xassembler -mbig-obj %s -### 2>&1 | FileCheck %s --check-prefix=WINDOWS +// RUN: %clang --target=x86_64-linux -c -Wa,-mbig-obj %s -### 2>&1 | FileCheck %s --check-prefix=LINUX +// RUN: %clang --target=x86_64-linux -c -Xassembler -mbig-obj %s -### 2>&1 | FileCheck %s --check-prefix=LINUX +// WINDOWS-NOT: argument unused during compilation +// LINUX: unsupported argument '-mbig-obj' to option '{{(Wa,|Xassembler)}}' |
