mirror of
https://github.com/opnsense/src.git
synced 2026-02-20 16:30:53 -05:00
18 lines
210 B
C++
18 lines
210 B
C++
// 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;
|
|
}
|