[clang][modules] Don't prevent translation of FW_Private includes when explicitly...
[llvm-project.git] / clang / test / CodeGenCXX / vlt_to_reference.cpp
blob49d7f1aa975f482717dc7a466632ace085a09ffe
1 // RUN: %clang_cc1 %s -emit-llvm -o - | FileCheck %s
3 // CHECK-LABEL: @main
5 struct dyn_array {
6 int size;
7 int data[];
8 };
10 int foo(dyn_array **&d) {
11 return (*d)->data[1];
14 int main()
16 dyn_array **d;
17 return foo(d);
19 // CHECK: call {{.+}} @{{.+}}foo{{.+}}(
20 // CHECK: ret i{{[0-9]+}}