summaryrefslogtreecommitdiffstats
path: root/clang/test/Frontend/plugins.c
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/Frontend/plugins.c')
-rw-r--r--clang/test/Frontend/plugins.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/clang/test/Frontend/plugins.c b/clang/test/Frontend/plugins.c
new file mode 100644
index 00000000000..8117f72fa7a
--- /dev/null
+++ b/clang/test/Frontend/plugins.c
@@ -0,0 +1,5 @@
+// RUN: %clang_cc1 -load %llvmshlibdir/PrintFunctionNames%pluginext -plugin print-fns %s 2>&1 | FileCheck %s
+// REQUIRES: plugins, examples
+
+// CHECK: top-level-decl: "x"
+void x();
OpenPOWER on IntegriCloud