[clang] [clang-repl] Re-emit implicitly instantiated templates on subsequent uses (PR #192588)
Vassil Vassilev via cfe-commits
cfe-commits at lists.llvm.org
Tue Apr 21 02:49:13 PDT 2026
================
@@ -0,0 +1,12 @@
+// REQUIRES: host-supports-jit
+// RUN: clang-repl -Xcc -fno-color-diagnostics < %s 2>&1 | FileCheck %s
+
+#include <cmath>
+extern "C" int printf(const char *, ...);
+
+(10-)*std::pow(2,2);
----------------
vgvassilev wrote:
Would `std::pow(2,2)` work? If it would then the problem is probably not the template instantiations themselves.
https://github.com/llvm/llvm-project/pull/192588
More information about the cfe-commits
mailing list