[RISCV][VLOPT] Add vector narrowing integer right shift instructions to isSupportedIn...
[llvm-project.git] / clang / test / CodeGen / private-extern-redef.c
blob4ae04243fa7197d9341086df169985a486149a17
1 // RUN: %clang_cc1 -triple x86_64-darwin-apple -emit-llvm -o - %s | FileCheck %s
3 __private_extern__ const int I;
4 __private_extern__ const int J = 927;
6 __private_extern__ const int K;
7 const int K = 37;
9 const int L = 10;
10 __private_extern__ const int L;
12 __private_extern__ int M;
13 int M = 20;
15 __private_extern__ int N;
16 int N;
18 __private_extern__ int O;
19 int O=1;
21 __private_extern__ int P;
22 extern int P;
24 void bar(int);
26 void foo(void) {
27 bar(I);
30 // CHECK: @J = hidden constant
31 // CHECK: @K = hidden constant
32 // CHECK: @L ={{.*}} constant
33 // CHECK: @M = hidden global
34 // CHECK: @O = hidden global
35 // CHECK: @I = external hidden
36 // CHECK: @N = hidden global
37 // CHECK-NOT: @P