summaryrefslogtreecommitdiffstats
path: root/llvm/test/tools/llvm-cov/Inputs/prevent_false_instantiations.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/tools/llvm-cov/Inputs/prevent_false_instantiations.cpp')
-rw-r--r--llvm/test/tools/llvm-cov/Inputs/prevent_false_instantiations.cpp15
1 files changed, 15 insertions, 0 deletions
diff --git a/llvm/test/tools/llvm-cov/Inputs/prevent_false_instantiations.cpp b/llvm/test/tools/llvm-cov/Inputs/prevent_false_instantiations.cpp
new file mode 100644
index 00000000000..2a84f1dd58e
--- /dev/null
+++ b/llvm/test/tools/llvm-cov/Inputs/prevent_false_instantiations.cpp
@@ -0,0 +1,15 @@
+#include "prevent_false_instantiations.h"
+
+void func1() {
+ DO_SOMETHING();
+}
+
+void func2() {
+ DO_SOMETHING();
+}
+
+int main() {
+ func1();
+ func2();
+ return 0;
+}
OpenPOWER on IntegriCloud