• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // RUN: %llvmgcc -w %s -S -o -
2 // PR854
3   struct kernel_symbol {
4     unsigned long value;
5   };
6   unsigned long loops_per_jiffy = (1<<12);
7   static const char __kstrtab_loops_per_jiffy[]
8 __attribute__((section("__ksymtab_strings"))) = "loops_per_jiffy";
9   static const struct kernel_symbol __ksymtab_loops_per_jiffy
10 __attribute__((__used__)) __attribute__((section("__ksymtab"))) = { (unsigned
11 long)&loops_per_jiffy, __kstrtab_loops_per_jiffy };
12