Training courses
Kernel and Embedded Linux
Bootlin training courses
1 2 3 4 5 6 7
// RUN: %clang_cc1 %s -emit-llvm -o - | FileCheck %s // CHECK: @a = external {{(dso_local )?}}constan extern const int a[]; // 'a' should be marked constant even though it's external! int foo () { return a[0]; }