Skip to content

Commit

Permalink
[ARM64EC][clang-cl] Add arm64EC test; NFC
Browse files Browse the repository at this point in the history
  • Loading branch information
bcl5980 committed Oct 8, 2022
1 parent 79ed24e commit 3b276a0
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions clang/test/Driver/cl-options.c
Expand Up @@ -782,8 +782,11 @@
// EXTERNAL_W0: "-Wno-system-headers"
// EXTERNAL_Wn: "-Wsystem-headers"

// RUN: %clang_cl -vctoolsdir "" /arm64EC /c -### -- %s 2>&1 | FileCheck %s --check-prefix ARM64EC
// ARM64EC: "-triple" "arm64ec-pc-windows-msvc19.20.0"
// RUN: %clang_cl -vctoolsdir "" /arm64EC /c -### -- %s 2>&1 | FileCheck --check-prefix=ARM64EC %s
// ARM64EC-NOT: /arm64EC has been overridden by specified target
// ARM64EC: "-triple" "arm64ec-pc-windows-msvc19.20.0"

// RUN: %clang_cl -vctoolsdir "" /arm64EC /c -target x86_64-pc-windows-msvc -### -- %s 2>&1 | FileCheck --check-prefix=ARM64EC_OVERRIDE %s
// ARM64EC_OVERRIDE: warning: /arm64EC has been overridden by specified target: x86_64-pc-windows-msvc; option ignored

void f(void) { }

0 comments on commit 3b276a0

Please sign in to comment.