aboutsummaryrefslogtreecommitdiff
path: root/test/Frontend/hexagon-target-basic.c
blob: 2c0e82b4de5d8d073afc1787b662b9137c499564 (plain)
1
2
3
4
5
6
7
8
// RUN: %clang_cc1 -emit-llvm -triple hexagon-unknown-unknown %s -S -o /dev/null

// 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.