aboutsummaryrefslogtreecommitdiff
path: root/test/CoverageMapping/Inputs/code.h
diff options
context:
space:
mode:
Diffstat (limited to 'test/CoverageMapping/Inputs/code.h')
-rw-r--r--test/CoverageMapping/Inputs/code.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/CoverageMapping/Inputs/code.h b/test/CoverageMapping/Inputs/code.h
new file mode 100644
index 000000000000..cd3cfb5d3fed
--- /dev/null
+++ b/test/CoverageMapping/Inputs/code.h
@@ -0,0 +1,11 @@
+x = x;
+if (x == 0) {
+ x = 1;
+} else {
+ x = 2;
+}
+if (true) {
+ x = x;
+} else {
+ x = x;
+}