annotate clang/test/Import/struct-and-var/test.cpp @ 150:1d019706d866

LLVM10
author anatofuz
date Thu, 13 Feb 2020 15:10:13 +0900
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
150
anatofuz
parents:
diff changeset
1 // RUN: clang-import-test -dump-ast --import %S/Inputs/S1.cpp --import %S/Inputs/S2.cpp -expression %s | FileCheck %s
anatofuz
parents:
diff changeset
2
anatofuz
parents:
diff changeset
3 // CHECK: {{^`-CXXRecordDecl}}
anatofuz
parents:
diff changeset
4 // CHECK-SAME: Inputs/S2.cpp:1:1, line:3:1> line:1:8 struct F
anatofuz
parents:
diff changeset
5
anatofuz
parents:
diff changeset
6 void expr() {
anatofuz
parents:
diff changeset
7 struct F f;
anatofuz
parents:
diff changeset
8 int x = f.a;
anatofuz
parents:
diff changeset
9 }