repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[clang] Handle __declspec() attributes in using
[llvm-project.git]
/
clang
/
test
/
CodeGenCXX
/
reference-field.cpp
blob
54e914d0f3fce594bec9d2954517a2edbe0c0ee2
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