summaryrefslogtreecommitdiffstats
path: root/test/Frontend/hexagon-target-basic.c
blob: 5f95fa2df5a02a6685894a5ebc54c0532216827a (plain)
1
2
3
4
5
6
7
8
9
// RUN: %clang_cc1 -emit-llvm -triple hexagon-unknown-unknown %s -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.