• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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
6struct foo{
7	int a;
8	int b:1;
9	int c:14;
10};
11
12const char *encoding = @encode(struct foo);
13