[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
This commit is contained in:
Matthew Voss 2021-01-08 10:29:30 -08:00
parent 8e36d21fab
commit 0386f3d4f4
1 changed files with 1 additions and 1 deletions

View File

@ -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];