[clang] [clang-repl] Always clean up scope and context for TopLevelStmtDecl (PR #150215)
via cfe-commits
cfe-commits at lists.llvm.org
Wed Jul 23 06:12:22 PDT 2025
================
@@ -18,4 +18,12 @@ extern "C" int printf(const char *, ...);
int i = 42;
auto r1 = printf("i = %d\n", i);
// CHECK: i = 42
+
+1aap = 42; // expected-error {{intended to fail the -verify test}}
----------------
devajithvs wrote:
Done!
https://github.com/llvm/llvm-project/pull/150215
More information about the cfe-commits
mailing list