Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
fp2-dev
/
platform
/
external
/
clang
/
b6e0edc4d0b1cf6315df288ccab6c51c47113398
/
.
/
test
/
CodeGenCXX
/
static-data-member.cpp
blob: b3a2af2aafe32c847e43f28380244491484bf3ab [
file
] [
log
] [
blame
]
// RUN: %clang_cc1 -emit-llvm -o - %s
// CHECK: @_ZN1A1aE = constant i32 10
// PR5564.
struct
A
{
static
const
int
a
=
10
;
};
const
int
A
::
a
;
struct
S
{
static
int
i
;
};
void
f
()
{
int
a
=
S
::
i
;
}