new offsetof testcase

llvm-svn: 38892
This commit is contained in:
Chris Lattner 2006-08-12 19:15:40 +00:00
parent 3ba544ef0a
commit 5b6032ab3c
1 changed files with 5 additions and 0 deletions

View File

@ -23,3 +23,8 @@ int test3(int a, int b, int c) {
int test4() {
test4();
}
int test_offsetof() {
// FIXME: change into something that is semantically correct.
__builtin_offsetof(int, a.b.c[4][5]);
}