James Molloy | 90d6101 | 2014-08-29 10:17:52 +0000 | [diff] [blame^] | 1 | // RUN: %clang_cc1 -triple x86_64-linux-gnu -emit-llvm -O0 -o - %s | FileCheck %s |
2 | |||||
3 | static union ibtt2 | ||||
4 | { | ||||
5 | struct ibtt0 { signed ibt0:10; unsigned short ibt1; } ibt5; | ||||
6 | struct ibtt1 { signed ibt2:3; signed ibt3:9; signed ibt4:9; } ibt6; | ||||
7 | } ibt15 = {{267, 15266}}; | ||||
8 | |||||
9 | void callee_ibt0f(union ibtt2 ibtp5); | ||||
10 | |||||
11 | void test(void) { | ||||
12 | // CHECK: = load i32* | ||||
13 | callee_ibt0f(ibt15); | ||||
14 | } |