cl-options.c: Fix negative -cfguard check

llvm-svn: 342470
This commit is contained in:
Hans Wennborg 2018-09-18 13:07:55 +00:00
parent e3c6f8ddcf
commit b466bb24b6
1 changed files with 1 additions and 1 deletions

View File

@ -562,7 +562,7 @@
// RUN: %clang_cl -### -- %s 2>&1 | FileCheck -check-prefix=NOCFGUARD %s
// RUN: %clang_cl /guard:cf- -### -- %s 2>&1 | FileCheck -check-prefix=NOCFGUARD %s
// NOCFGUARD-NOT: -guardcf
// NOCFGUARD-NOT: -cfguard
// RUN: %clang_cl /guard:cf -### -- %s 2>&1 | FileCheck -check-prefix=CFGUARD %s
// RUN: %clang_cl /guard:cf,nochecks -### -- %s 2>&1 | FileCheck -check-prefix=CFGUARD %s