Skip to content

Commit 1e9fc8e

Browse files
committed
[Clang][attr] Add '-std=c11' to allow for typedef redefinition
1 parent 76dd742 commit 1e9fc8e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/test/Sema/attr-cfi-salt.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: %clang_cc1 -fsyntax-only -fsanitize=kcfi -verify %s
1+
// RUN: %clang_cc1 -std=c11 -fsyntax-only -fsanitize=kcfi -verify %s
22
// RUN: %clang_cc1 -std=c89 -DKNR -fsyntax-only -fsanitize=kcfi -verify %s
33

44
#define __cfi_salt(S) __attribute__((cfi_salt(S)))

0 commit comments

Comments
 (0)