hexagon-target-basic.c 381 B

123456789
  1. // RUN: %clang_cc1 -emit-llvm -triple hexagon-unknown-unknown %s -S -o /dev/null
  2. // REQUIRES: hexagon-registered-target
  3. // Testcase for bug 14744. Empty file is sufficient, since the problem
  4. // was a bad data layout string in the Hexagon target causing an ICE
  5. // when compiling any Hexagon program.
  6. int x; // In C99, a translation unit needs to have at least one declaration.