1 // RUN: %clang_analyze_cc1 \
2 // RUN: -analyzer-checker=debug.ExprInspection %s 2>&1 | FileCheck %s
4 void clang_analyzer_printState(void);
6 void test_disequality_info(int e0
, int b0
, int b1
, int c0
) {
12 clang_analyzer_printState();
17 // CHECK: "disequality_info": [
19 // CHECK-NEXT: "class": [ "(reg_$0<int e0>) - 2" ],
20 // CHECK-NEXT: "disequal_to": [
21 // CHECK-NEXT: [ "reg_$2<int b1>" ]]
24 // CHECK-NEXT: "class": [ "reg_$2<int b1>" ],
25 // CHECK-NEXT: "disequal_to": [
26 // CHECK-NEXT: [ "(reg_$0<int e0>) - 2" ],
27 // CHECK-NEXT: [ "reg_$3<int c0>" ]]
30 // CHECK-NEXT: "class": [ "reg_$3<int c0>" ],
31 // CHECK-NEXT: "disequal_to": [
32 // CHECK-NEXT: [ "reg_$2<int b1>" ]]