diff options
Diffstat (limited to 'test/Frontend/optimization-remark.c')
-rw-r--r-- | test/Frontend/optimization-remark.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/Frontend/optimization-remark.c b/test/Frontend/optimization-remark.c index 29eaa03243..234958d9ea 100644 --- a/test/Frontend/optimization-remark.c +++ b/test/Frontend/optimization-remark.c @@ -13,6 +13,9 @@ // RUN: %clang_cc1 %s -Rpass=inline -Rno-everything -emit-llvm -o - 2>&1 | FileCheck %s --check-prefix=CHECK-NO-REMARKS // RUN: %clang_cc1 %s -Rpass=inline -Rno-everything -Reverything -emit-llvm -o - 2>&1 | FileCheck %s --check-prefix=CHECK-REMARKS // +// Check that -w doesn't disable remarks. +// RUN: %clang_cc1 %s -Rpass=inline -w -emit-llvm -o - 2>&1 | FileCheck %s --check-prefix=CHECK-REMARKS +// // FIXME: -Reverything should imply -Rpass=.*. // RUN: %clang_cc1 %s -Reverything -emit-llvm -o - 2>/dev/null | FileCheck %s --check-prefix=CHECK-NO-REMARKS // |