blob: 0fcb90797d2ba06960ff70c1e5d1aa8c32b20a02 [file] [log] [blame]
Artem Dergachev4b0d1602018-02-10 00:55:49 +00001// RUN: %clang_analyze_cc1 -analyzer-checker=debug.AnalysisOrder -analyzer-config debug.AnalysisOrder:PreStmtOffsetOfExpr=true,debug.AnalysisOrder:PostStmtOffsetOfExpr=true %s 2>&1 | FileCheck %s
2#include "Inputs/system-header-simulator.h"
3
4struct S {
5 char c;
6};
7
8void test() {
9 offsetof(struct S, c);
10}
11
12// CHECK: PreStmt<OffsetOfExpr>
13// CHECK-NEXT: PostStmt<OffsetOfExpr>