forked from OSchip/llvm-project
15 lines
206 B
C++
15 lines
206 B
C++
|
// RUN: %clang_cc1 -triple x86_64-linux-gnu -emit-llvm -fmerge-all-constants %s -o /dev/null
|
||
|
|
||
|
struct A {
|
||
|
};
|
||
|
|
||
|
struct B {
|
||
|
const struct A& a = {};
|
||
|
};
|
||
|
|
||
|
void Test(const struct B&);
|
||
|
|
||
|
void Run() {
|
||
|
Test({});
|
||
|
}
|