[clang] [clang][test] Write obj file into %t in ByteCode/module-default-ctor.cpp (PR #225192)
Ivan Tadeu Ferreira Antunes Filho via cfe-commits
cfe-commits at lists.llvm.org
Mon Sep 21 13:47:02 PDT 2026
https://github.com/itf created https://github.com/llvm/llvm-project/pull/225192
None
>From 3bd6af5866fe2e58355a83285ce50116b6144f4a Mon Sep 17 00:00:00 2001
From: ivan tadeu ferreira antunes filho <antunesi at google.com>
Date: Mon, 21 Sep 2026 20:39:08 +0000
Subject: [PATCH] [clang][test] Write object file into %t in
ByteCode/module-default-ctor.cpp
---
clang/test/AST/ByteCode/module-default-ctor.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/clang/test/AST/ByteCode/module-default-ctor.cpp b/clang/test/AST/ByteCode/module-default-ctor.cpp
index 4883b2a6e28ba..7ab9d8b2a54ea 100644
--- a/clang/test/AST/ByteCode/module-default-ctor.cpp
+++ b/clang/test/AST/ByteCode/module-default-ctor.cpp
@@ -1,6 +1,6 @@
// RUN: mkdir -p %t
// RUN: %clang -std=c++20 %p/Inputs/default-ctor.cppm --precompile -o %t/default-ctor.pcm
-// RUN: %clang -c -std=c++20 -fmodule-file=m=%t/default-ctor.pcm -fexperimental-new-constant-interpreter %s
+// RUN: %clang -c -std=c++20 -fmodule-file=m=%t/default-ctor.pcm -fexperimental-new-constant-interpreter %s -o %t/module-default-ctor.o
import m;
More information about the cfe-commits
mailing list