blob: c141c2f8c0f34b3e56a6b37888c8743315eb9d20 [file] [log] [blame]
Hans Wennborg6ddc6902013-07-27 00:23:45 +00001// Check that clang-cl options are not available by default.
2// RUN: %clang -help | FileCheck %s -check-prefix=DEFAULT
3// DEFAULT-NOT: CL.EXE COMPATIBILITY OPTIONS
4// DEFAULT-NOT: {{/[?]}}
5// DEFAULT-NOT: /help
6// RUN: not %clang /?
7// RUN: not %clang -?
8// RUN: not %clang /help
Hans Wennborge4b031c2013-07-19 20:33:20 +00009
Hans Wennborg6ddc6902013-07-27 00:23:45 +000010// Check that /? and /help are available as clang-cl options.
11// RUN: %clang_cl /? | FileCheck %s -check-prefix=CL
12// RUN: %clang_cl /help | FileCheck %s -check-prefix=CL
13// RUN: %clang_cl -help | FileCheck %s -check-prefix=CL
14// CL: CL.EXE COMPATIBILITY OPTIONS
15// CL: {{/[?]}}
16// CL: /help
17
18// Options which are not "core" clang options nor cl.exe compatible options
19// are not available in clang-cl.
20// DEFAULT: -fapple-kext
21// CL-NOT: -fapple-kext