xref: /aosp_15_r20/external/clang/test/Frontend/hexagon-target-basic.c (revision 67e74705e28f6214e480b399dd47ea732279e315)
1*67e74705SXin Li // RUN: %clang_cc1 -emit-llvm -triple hexagon-unknown-unknown %s -S -o /dev/null
2*67e74705SXin Li // REQUIRES: hexagon-registered-target
3*67e74705SXin Li 
4*67e74705SXin Li // Testcase for bug 14744.  Empty file is sufficient, since the problem
5*67e74705SXin Li // was a bad data layout string in the Hexagon target causing an ICE
6*67e74705SXin Li // when compiling any Hexagon program.
7*67e74705SXin Li 
8*67e74705SXin Li int x;  // In C99, a translation unit needs to have at least one declaration.
9*67e74705SXin Li 
10