1 | // RUN: %clang_cc1 -emit-llvm -triple %itanium_abi_triple -o - %s -O2 | FileCheck %s |
---|---|
2 | |
3 | // Make sure the call to b() doesn't get optimized out. |
4 | extern struct x {char& x,y;}y; |
5 | int b(); |
6 | int a() { if (!&y.x) b(); } |
7 | |
8 | // CHECK: @_Z1bv |
9 |
1 | // RUN: %clang_cc1 -emit-llvm -triple %itanium_abi_triple -o - %s -O2 | FileCheck %s |
---|---|
2 | |
3 | // Make sure the call to b() doesn't get optimized out. |
4 | extern struct x {char& x,y;}y; |
5 | int b(); |
6 | int a() { if (!&y.x) b(); } |
7 | |
8 | // CHECK: @_Z1bv |
9 |