Skip to content

Commit 08a8008

Browse files
bwendlingBrock Denson
authored andcommitted
[Clang][attr] Add '-std=c11' to allow for typedef redefinition
1 parent d0648c2 commit 08a8008

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)