Mercurial > hg > CbC > CbC_llvm
annotate clang/test/CodeGenObjC/bitfield_encoding.m @ 236:c4bab56944e8 llvm-original
LLVM 16
author | kono |
---|---|
date | Wed, 09 Nov 2022 17:45:10 +0900 (2022-11-09) |
parents | 1d019706d866 |
children |
rev | line source |
---|---|
150 | 1 // RUN: %clang_cc1 -triple i386-unknown-unknown -fobjc-runtime=macosx-fragile-10.5 -emit-llvm -o %t %s |
2 // RUN: grep "ib1b14" %t | count 1 | |
3 // RUN: %clang_cc1 -triple i386-unknown-unknown -fobjc-runtime=macosx-fragile-10.5 -fobjc-runtime=gcc -emit-llvm -o %t %s | |
4 // RUN: grep "ib32i1b33i14" %t | count 1 | |
5 | |
6 struct foo{ | |
7 int a; | |
8 int b:1; | |
9 int c:14; | |
10 }; | |
11 | |
12 const char *encoding = @encode(struct foo); |