Skip to content

Commit 984181f

Browse files
committed
[CIR][NFC] Fix failing test (aapcs-volatile-bitfields.c)
Something changed to cause the aapcs-volatile-bitfields.c test to start failing. This test was using "1>" to redirect stdout, and that now fails. This change fixes the problem.
1 parent 72616c5 commit 984181f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

clang/test/CIR/CodeGen/aapcs-volatile-bitfields.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
// RUN: %clang_cc1 -triple aarch64-unknown-linux-gnu -fclangir -emit-cir -fdump-record-layouts %s -o %t.cir 1> %t.cirlayout
1+
// RUN: %clang_cc1 -triple aarch64-unknown-linux-gnu -fclangir -emit-cir -fdump-record-layouts %s -o %t.cir > %t.cirlayout
22
// RUN: FileCheck --input-file=%t.cirlayout %s --check-prefix=CIR-LAYOUT
33
// RUN: FileCheck --input-file=%t.cir %s --check-prefix=CIR
44

55
// RUN: %clang_cc1 -triple aarch64-unknown-linux-gnu -fclangir -emit-llvm %s -o %t-cir.ll
66
// RUN: FileCheck --input-file=%t-cir.ll %s --check-prefix=LLVM
77

8-
// RUN: %clang_cc1 -triple aarch64-unknown-linux-gnu -emit-llvm -fdump-record-layouts %s -o %t.ll 1> %t.ogcglayout
8+
// RUN: %clang_cc1 -triple aarch64-unknown-linux-gnu -emit-llvm -fdump-record-layouts %s -o %t.ll > %t.ogcglayout
99
// RUN: FileCheck --input-file=%t.ogcglayout %s --check-prefix=OGCG-LAYOUT
1010
// RUN: FileCheck --input-file=%t.ll %s --check-prefix=OGCG
1111

0 commit comments

Comments
 (0)