[clang] 3668d12 - Revert "[NFC] Add a missing test for for clang-repl"

Jun Zhang via cfe-commits cfe-commits at lists.llvm.org
Fri Jul 1 08:56:35 PDT 2022


Author: Jun Zhang
Date: 2022-07-01T23:55:55+08:00
New Revision: 3668d1264e2d246f7e222338b8a5cab18ce1bdab

URL: https://github.com/llvm/llvm-project/commit/3668d1264e2d246f7e222338b8a5cab18ce1bdab
DIFF: https://github.com/llvm/llvm-project/commit/3668d1264e2d246f7e222338b8a5cab18ce1bdab.diff

LOG: Revert "[NFC] Add a missing test for for clang-repl"

This reverts commit 2750985a5ccb97f4630c3443e75d78ed435d2bd0.
This has caused Windows buildbot unhappy :(

Added: 
    

Modified: 
    clang/test/Interpreter/execute.cpp

Removed: 
    


################################################################################
diff  --git a/clang/test/Interpreter/execute.cpp b/clang/test/Interpreter/execute.cpp
index 8fb528c4750a8..f5c70c21ac507 100644
--- a/clang/test/Interpreter/execute.cpp
+++ b/clang/test/Interpreter/execute.cpp
@@ -18,8 +18,4 @@ auto r2 = printf("S[f=%f, m=0x%llx]\n", s.f, reinterpret_cast<unsigned long long
 inline int foo() { return 42; }
 int r3 = foo();
 
-int __attribute__((weak)) bar() { return 1; }
-auto r4 = printf("bar() = %d\n", bar());
-// CHECK-NEXT: bar() = 1
-
 %quit


        


More information about the cfe-commits mailing list