diff options
Diffstat (limited to 'clang/test/CodeGen/pragma-pack-1.c')
-rw-r--r-- | clang/test/CodeGen/pragma-pack-1.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/clang/test/CodeGen/pragma-pack-1.c b/clang/test/CodeGen/pragma-pack-1.c new file mode 100644 index 0000000..c30a62a --- /dev/null +++ b/clang/test/CodeGen/pragma-pack-1.c @@ -0,0 +1,7 @@ +// RUN: %clang_cc1 -emit-llvm -o - %s + +// PR4610 +#pragma pack(4) +struct ref { + struct ref *next; +} refs; |