Home | History | Annotate | Download | only in Linux
      1 // RUN: %clangxx_asan %s -o %t -Wl,--gc-sections -ffunction-sections -mllvm -asan-globals=0
      2 // RUN: %clangxx_asan %s -o %t -Wl,--gc-sections -ffunction-sections -mllvm -asan-globals=1
      3 
      4 // https://code.google.com/p/address-sanitizer/issues/detail?id=260
      5 // XFAIL: *
      6 
      7 int undefined();
      8 
      9 int (*unused)() = undefined;
     10 
     11 int main() {
     12         return 0;
     13 }
     14