Skip to content

Commit 5e37944

Browse files
Update clang/test/SemaCXX/warn-unsafe-buffer-usage-fold-conditional.cpp
Take reviewer's suggestion. Co-authored-by: Balázs Benics <[email protected]>
1 parent 5f7cb57 commit 5e37944

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

clang/test/SemaCXX/warn-unsafe-buffer-usage-fold-conditional.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
// RUN: %clang_cc1 -fsyntax-only -std=c++20 -Wno-all -Wunsafe-buffer-usage -verify %s
2-
// RUN: %clang_cc1 -fsyntax-only -x c -Wno-all -Wunsafe-buffer-usage -verify %s
1+
// RUN: %clang_cc1 -fsyntax-only -Wno-all -Wunsafe-buffer-usage -verify %s -std=c++20
2+
// RUN: %clang_cc1 -fsyntax-only -Wno-all -Wunsafe-buffer-usage -verify %s -x c
33
// expected-no-diagnostics
44

55
typedef struct {} FILE;

0 commit comments

Comments
 (0)