From 0386f3d4f4183a93d7e029abef8110ae4f148335 Mon Sep 17 00:00:00 2001 From: Matthew Voss Date: Fri, 8 Jan 2021 10:29:30 -0800 Subject: [PATCH] [NFC] Specify C11 in loop-opt-setup.c This test was failing in our internal CI, since our driver does not default to C11. Adding this switch fixes the issue. Differential Revision: https://reviews.llvm.org/D94327 --- clang/test/Misc/loop-opt-setup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clang/test/Misc/loop-opt-setup.c b/clang/test/Misc/loop-opt-setup.c index e9a9c1e..63a6972 100644 --- a/clang/test/Misc/loop-opt-setup.c +++ b/clang/test/Misc/loop-opt-setup.c @@ -1,5 +1,5 @@ // This tests loop unrolling and loop deletion (enabled under -O1) -// RUN: %clang_cc1 -O1 -fno-unroll-loops -S -o - %s -emit-llvm | FileCheck %s +// RUN: %clang_cc1 -std=c11 -O1 -fno-unroll-loops -S -o - %s -emit-llvm | FileCheck %s // RUN: %clang_cc1 -std=c99 -O1 -fno-unroll-loops -S -o - %s -emit-llvm | FileCheck %s --check-prefix C99 extern int a[16]; -- 2.7.4