This revision was landed with ongoing or failed builds. This revision was automatically updated to reflect the committed changes. Closed by commit rG2750985a5ccb: [NFC] Add a missing test for for clang-repl (authored by junaire).
Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D128991/new/ https://reviews.llvm.org/D128991 Files: clang/test/Interpreter/execute.cpp Index: clang/test/Interpreter/execute.cpp =================================================================== --- clang/test/Interpreter/execute.cpp +++ clang/test/Interpreter/execute.cpp @@ -18,4 +18,8 @@ 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
Index: clang/test/Interpreter/execute.cpp =================================================================== --- clang/test/Interpreter/execute.cpp +++ clang/test/Interpreter/execute.cpp @@ -18,4 +18,8 @@ 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
_______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits