[clang] 04d3600 - [clang][test] Write obj file into %t in ByteCode/module-default-ctor.cpp (#225192)
via cfe-commits
cfe-commits at lists.llvm.org
Mon Sep 21 15:52:50 PDT 2026
Author: Ivan Tadeu Ferreira Antunes Filho
Date: 2026-09-21T22:52:43Z
New Revision: 04d36008ff346d1ff9deded1cdf275fb2fb28c69
URL: https://github.com/llvm/llvm-project/commit/04d36008ff346d1ff9deded1cdf275fb2fb28c69
DIFF: https://github.com/llvm/llvm-project/commit/04d36008ff346d1ff9deded1cdf275fb2fb28c69.diff
LOG: [clang][test] Write obj file into %t in ByteCode/module-default-ctor.cpp (#225192)
Added:
Modified:
clang/test/AST/ByteCode/module-default-ctor.cpp
Removed:
################################################################################
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