llvm-project/clang/test/Frontend/hexagon-target-basic.c
2024-05-04 17:31:08 -07:00

10 lines
378 B
C

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