brintos

brintos / llvm-project-archived public Read only

0
0
Text · 222 B · db09c91 Raw
8 lines · c
1// RUN: %clang_cc1  %s -emit-llvm -o - | FileCheck %s2 3// CHECK: @a = external {{(dso_local )?}}constan4extern const int a[];   // 'a' should be marked constant even though it's external!5int foo (void) {6  return a[0];7}8