// RUN: %clang_analyze_cc1 -analyzer-checker=core \
// RUN:  -analyzer-dump-egraph=%t.dot %s
// RUN: cat %t.dot | FileCheck %s

// RUN: %clang_analyze_cc1 -analyzer-checker=core \
// RUN:  -analyzer-dump-egraph=%t.dot \
// RUN:  -trim-egraph %s
// RUN: cat %t.dot | FileCheck %s

// REQUIRES: asserts

int getJ();

int foo() {
  int *x = 0, *y = 0;
  char c = '\x13';

  return *x + *y;
}

// CHECK: \"program_points\": [\l&nbsp;&nbsp;&nbsp;&nbsp;\{ \"kind\": \"Edge\", \"src_id\": 2, \"dst_id\": 1, \"terminator\": null, \"term_kind\": null, \"tag\": null, \"node_id\": 1, \"is_sink\":0, \"has_report\": 0 \}\l&nbsp;&nbsp;],\l&nbsp;&nbsp;\"program_state\": null

// CHECK: \"program_points\": [\l&nbsp;&nbsp;&nbsp;&nbsp;\{ \"kind\": \"BlockEntrance\", \"block_id\": 1


// CHECK: \"pretty\": \"*x\", \"location\": \{ \"line\": 18, \"column\": 10, \"file\": \"{{(.+)}}dump_egraph.c\" \}

// CHECK: \"pretty\": \"'\\\\x13'\"

// CHECK: \"has_report\": 1

// RUN: %clang_analyze_cc1 -analyzer-checker=core \
// RUN:  -analyzer-dump-egraph=%t.dot %s
// RUN: cat %t.dot | FileCheck %s

// RUN: %clang_analyze_cc1 -analyzer-checker=core \
// RUN:  -analyzer-dump-egraph=%t.dot \
// RUN:  -trim-egraph %s
// RUN: cat %t.dot | FileCheck %s

// REQUIRES: asserts

int getJ();

int foo() {
  int *x = 0, *y = 0;
  char c = '\x13';

  return *x + *y;
}

// CHECK: \"program_points\": [\l&nbsp;&nbsp;&nbsp;&nbsp;\{ \"kind\": \"Edge\", \"src_id\": 2, \"dst_id\": 1, \"terminator\": null, \"term_kind\": null, \"tag\": null, \"node_id\": 1, \"is_sink\": 0, \"has_report\": 0 \}\l&nbsp;&nbsp;],\l&nbsp;&nbsp;\"program_state\": null

// CHECK: \"program_points\": [\l&nbsp;&nbsp;&nbsp;&nbsp;\{ \"kind\": \"BlockEntrance\", \"block_id\": 1


// CHECK: \"pretty\": \"*x\", \"location\": \{ \"line\": 18, \"column\": 10, \"file\": \"{{(.+)}}dump_egraph.c\" \}

// CHECK: \"pretty\": \"'\\\\x13'\"

// CHECK: \"has_report\": 1

Fix typo in r375186. Unbreaks tests.
[analyzer] exploded-graph-rewriter: Fix typo in r375186. Unbreaks tests.

git-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@375189 91177308-0d34-0410-b5e6-96231b3b80d8
