summaryrefslogtreecommitdiffstats
path: root/clang/test/Analysis/exploded-graph-rewriter/constraints.dot
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/Analysis/exploded-graph-rewriter/constraints.dot')
-rw-r--r--clang/test/Analysis/exploded-graph-rewriter/constraints.dot27
1 files changed, 27 insertions, 0 deletions
diff --git a/clang/test/Analysis/exploded-graph-rewriter/constraints.dot b/clang/test/Analysis/exploded-graph-rewriter/constraints.dot
new file mode 100644
index 00000000000..f9ffde74316
--- /dev/null
+++ b/clang/test/Analysis/exploded-graph-rewriter/constraints.dot
@@ -0,0 +1,27 @@
+// RUN: %exploded_graph_rewriter %s | FileCheck %s
+
+// FIXME: Substitution doesn't seem to work on Windows.
+// UNSUPPORTED: system-windows
+
+// CHECK: <tr><td align="left"><b>Ranges: </b></td></tr>
+// CHECK-SAME: <tr><td align="left"><table border="0">
+// CHECK-SAME: <tr>
+// CHECK-SAME: <td align="left">reg_$0<x></td>
+// CHECK-SAME: <td align="left">\{ [0, 0] \}</td>
+// CHECK-SAME: </tr>
+// CHECK-SAME: </table></td></tr>
+Node0x1 [shape=record,label=
+ "{
+ { "node_id": 1,
+ "pointer": "0x1",
+ "state_id": 2,
+ "program_points": [],
+ "program_state": {
+ "store": null,
+ "environment": null,
+ "constraints": [
+ { "symbol": "reg_$0<x>", "range": "{ [0, 0] }" }
+ ]
+ }
+ }
+\l}"];
OpenPOWER on IntegriCloud