☰
Debian Codegraph
@
1:22.1.8-2
1:22.1.8-1
1:22.1.7-1
/
/
clang
/
test
/
CodeGen
/
2008-08-07-GEPIntToPtr.c
☽
☼
clang/test/CodeGen/2008-08-07-GEPIntToPtr.c
code
plain
raw
APACHE-2-LLVM-EXCEPTIONS
2003-2017 University of Illinois at Urbana-Champaign.
debian/copyright
1
// RUN: %clang_cc1 -emit-llvm %s -o - | FileCheck %s
2
// PR2603
3
4
struct A {
5
char num_fields;
6
};
7
8
struct B {
9
char a, b[1];
10
};
11
12
const struct A Foo = {
13
// CHECK: i8 1
14
(char *)(&( (struct B *)(16) )->b[0]) - (char *)(16)
15
};