Skip to content

Commit fdb66ed

Browse files
committed
[test] Make sure plugin actually runs in clear-ast-before-backend-plugins.c
Reviewed By: dblaikie Differential Revision: https://reviews.llvm.org/D112253
1 parent d723ad5 commit fdb66ed

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

clang/test/Misc/clear-ast-before-backend-plugins.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,6 @@
55

66
// RUN: %clang_cc1 -mllvm -debug-only=codegenaction -clear-ast-before-backend -emit-obj -o /dev/null -load %llvmshlibdir/PrintFunctionNames%pluginext -add-plugin print-fns -plugin-arg-print-fns help %s 2>&1 | FileCheck %s --check-prefix=NO
77
// NO-NOT: Clearing AST
8+
// NO: top-level-decl: "f"
89

910
void f() {}

0 commit comments

Comments
 (0)