================
@@ -0,0 +1,10 @@
+// RUN: %clang_cc1 -triple x86_64-unknown-linux-gnu -std=c89 -emit-cir %s -o 
%t.cir
+// RUN: FileCheck --input-file=%t.cir %s --check-prefix=CIR
+
+// Implicit int return type.
+test = 0;
+// CIR: cir.global external @test = #cir.int<0> : !s32i
+func (void) {
+// CIR: cir.func {{.*}} @func() -> !s32i
----------------
Men-cotton wrote:

I think the FileCheck directives should be moved after the closing } (as in 
`clang/test/CIR/CodeGen/basic.c`).

https://github.com/llvm/llvm-project/pull/183998
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to