[clang][modules] Don't prevent translation of FW_Private includes when explicitly...
[llvm-project.git] / cross-project-tests / debuginfo-tests / dexter-tests / aggregate-indirect-arg.cpp
blob801e4851cfa81130469f593fdcf2b888bbe4cd42
1 // REQUIRES: lldb
2 // UNSUPPORTED: system-windows
3 //
4 // RUN: %clang -std=gnu++11 -O0 -g -lstdc++ %s -o %t
5 // RUN: %dexter --fail-lt 1.0 -w \
6 // RUN: --binary %t --debugger 'lldb' -- %s
7 // Radar 8945514
9 class SVal {
10 public:
11 ~SVal() {}
12 const void* Data;
13 unsigned Kind;
16 void bar(SVal &v) {}
17 class A {
18 public:
19 void foo(SVal v) { bar(v); } // DexLabel('foo')
22 int main() {
23 SVal v;
24 v.Data = 0;
25 v.Kind = 2142;
26 A a;
27 a.foo(v);
28 return 0;
32 DexExpectProgramState({
33 'frames': [
35 'location': { 'lineno': ref('foo') },
36 'watches': {
37 'v.Data == 0': 'true',
38 'v.Kind': '2142'