repo.or.cz
/
clang.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Fix the clang-wpa example.
[clang.git]
/
test
/
CodeGenCXX
/
global-llvm-constant.cpp
blob
ef1dcf0c59bf2bc1dad415364ea2a43df3740615
1
// RUN: %clang_cc1 -emit-llvm -o - %s | FileCheck %s
2
3
struct
A
{
4
A
() {
x
=
10
; }
5
int
x
;
6
};
7
8
const
A x
;
9
10
// CHECK: @_ZL1x = internal global