Revert "[llvm] Improve llvm.objectsize computation by computing GEP, alloca and mallo...
[llvm-project.git] / clang / test / CodeGen / private-extern.c
bloba468811689fb1bdcf982a862db8e1b0b48738ca4
1 // RUN: %clang_cc1 -fvisibility=default -emit-llvm -o - %s | FileCheck %s
3 // CHECK-DAG: @g0 = external hidden constant i32
4 // CHECK-DAG: @g1 = hidden constant i32 1
6 __private_extern__ const int g0;
7 __private_extern__ const int g1 = 1;
9 int f0(void) {
10 return g0;