================ @@ -0,0 +1,5 @@ +// RUN: %clang_cc1 -triple x86_64-unknown-linux-gnu -fclangir -emit-cir %s | FileCheck %s + +// CHECK: CIRGenModule::buildTopLevelDecl + +void foo() {} ---------------- bcardosolopes wrote:
Oh, I see what you are doing. I was thinking even more simple, no code, just an empty file without invoking FileCheck. So you can remove the printing hack. Before this PR, calling into `-emit-cir` would crash, so the idea of the simple test is to just make sure it doesn't anymore. https://github.com/llvm/llvm-project/pull/90831 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits