Anshuman Dasgupta | 1a090f1 | 2013-01-02 21:25:57 +0000 | [diff] [blame] | 1 | // RUN: %clang_cc1 -emit-llvm -triple hexagon-unknown-unknown %s -S -o /dev/null |
Dmitri Gribenko | f5e208c | 2013-01-02 22:30:14 +0000 | [diff] [blame] | 2 | // REQUIRES: hexagon-registered-target |
Anshuman Dasgupta | 1a090f1 | 2013-01-02 21:25:57 +0000 | [diff] [blame] | 3 | |
| 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. |
| 7 | |
| 8 | int x; // In C99, a translation unit needs to have at least one declaration. |
| 9 | |