xref: /minix3/external/bsd/llvm/dist/clang/test/CodeGenCXX/constructor-init-reference.cpp (revision 5d5fbe79c1b60734f34c69330aec5496644e8651)
1 // RUN: %clang_cc1 -triple %itanium_abi_triple -emit-llvm -o - %s | FileCheck %s
2 
3 int x;
4 struct A {
5   int& y;
6   A() : y(x) {}
7 };
8 A z;
9 // CHECK: store i32* @x, i32**
10