This revision was automatically updated to reflect the committed changes. Closed by commit rGbe68c9222b85: [NFC] Add -std=c11 to attr-availability.c (authored by dyung).
Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D94829/new/ https://reviews.llvm.org/D94829 Files: clang/test/Parser/attr-availability.c Index: clang/test/Parser/attr-availability.c =================================================================== --- clang/test/Parser/attr-availability.c +++ clang/test/Parser/attr-availability.c @@ -1,4 +1,4 @@ -// RUN: %clang_cc1 -fsyntax-only -verify %s +// RUN: %clang_cc1 -std=c11 -fsyntax-only -verify %s #if !__has_feature(attribute_availability) # error 'availability' attribute is not available
Index: clang/test/Parser/attr-availability.c =================================================================== --- clang/test/Parser/attr-availability.c +++ clang/test/Parser/attr-availability.c @@ -1,4 +1,4 @@ -// RUN: %clang_cc1 -fsyntax-only -verify %s +// RUN: %clang_cc1 -std=c11 -fsyntax-only -verify %s #if !__has_feature(attribute_availability) # error 'availability' attribute is not available
_______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits