[PATCH] D94829: [NFC] Add -std=c11 to attr-availability.c

Douglas Yung via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Jan 15 21:06:04 PST 2021


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


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D94829.317152.patch
Type: text/x-patch
Size: 410 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210116/cc7831af/attachment-0001.bin>


More information about the cfe-commits mailing list