1 // RUN: %clang_cc1 -triple x86_64-unknown-linux-gnu -emit-llvm %s -o - | FileCheck %s
9 struct Bar
foo(__builtin_va_list ap
) {
10 return __builtin_va_arg(ap
, struct Bar
);
11 // CHECK: [[FPOP:%.*]] = getelementptr inbounds nuw %struct.__va_list_tag, ptr {{.*}}, i32 0, i32 1
12 // CHECK: [[FPO:%.*]] = load i32, ptr [[FPOP]]
13 // CHECK: [[FPVEC:%.*]] = getelementptr i8, ptr {{.*}}, i32 [[FPO]]