[clang] Handle __declspec() attributes in using
[llvm-project.git] / clang / test / Frontend / hexagon-target-basic.c
blob5f95fa2df5a02a6685894a5ebc54c0532216827a
1 // RUN: %clang_cc1 -emit-llvm -triple hexagon-unknown-unknown %s -S -o /dev/null
2 // REQUIRES: hexagon-registered-target
4 // Testcase for bug 14744. Empty file is sufficient, since the problem
5 // was a bad data layout string in the Hexagon target causing an ICE
6 // when compiling any Hexagon program.
8 int x; // In C99, a translation unit needs to have at least one declaration.