[OpenACC] Enable 'attach' clause for combined constructs
[llvm-project.git] / clang / test / CodeGen / 2008-08-07-GEPIntToPtr.c
blob6892be033a986f71cfb16dc3440c73379de003d4
1 // RUN: %clang_cc1 -emit-llvm %s -o - | FileCheck %s
2 // PR2603
4 struct A {
5 char num_fields;
6 };
8 struct B {
9 char a, b[1];
12 const struct A Foo = {
13 // CHECK: i8 1
14 (char *)(&( (struct B *)(16) )->b[0]) - (char *)(16)