mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-29 01:46:05 +00:00
9 lines
175 B
C++
9 lines
175 B
C++
![]() |
// RUN: clang-cc -emit-llvm -o - %s | FileCheck %s
|
||
|
|
||
|
const int x = 10;
|
||
|
const int y = 20;
|
||
|
// CHECK-NOT: @x
|
||
|
// CHECK: @y = internal constant i32 20
|
||
|
const int& b() { return y; }
|
||
|
|