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