repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[flang] Don't needlessly instantiate distinct UNSIGNED cases for FINDLOC (#120471)
[llvm-project.git]
/
clang
/
test
/
CodeGen
/
2007-04-05-PackedStruct.c
blob
a65c6818de0c745d4087c77a5d41d36fdcc5b057
1
// RUN: %clang_cc1 %s -emit-llvm -o -
2
3
#pragma pack(push, 2)
4
5
enum
{
6
tA
=
0
,
7
tB
=
1
8
};
9
10
struct
MyStruct
{
11
unsigned long
A
;
12
char
C
;
13
void
*
B
;
14
};
15
16
void
bar
(
void
){
17
struct
MyStruct MS
= {
tB
,
0
};
18
}