mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-01-09 09:32:20 +00:00
new offsetof testcase
llvm-svn: 38892
This commit is contained in:
parent
3ba544ef0a
commit
5b6032ab3c
@ -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]);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user