Home | History | Annotate | Download | only in CodeGen
      1 // RUN: %clang_cc1 -emit-llvm -o %t %s
      2 // RUN: grep '@g0 = external hidden constant i32' %t
      3 // RUN: grep '@g1 = hidden constant i32 1' %t
      4 
      5 __private_extern__ const int g0;
      6 __private_extern__ const int g1 = 1;
      7 
      8 int f0(void) {
      9   return g0;
     10 }
     11