Changeset 90152a4 for tests/attributes.c
- Timestamp:
- Aug 27, 2018, 4:40:34 PM (7 years ago)
- Branches:
- ADT, arm-eh, ast-experimental, cleanup-dtors, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- b7c89aa
- Parents:
- f9feab8 (diff), 305581d (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)links above to see all the changes relative to each parent. - File:
-
- 1 moved
-
tests/attributes.c (moved) (moved from src/tests/attributes.c ) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
tests/attributes.c
rf9feab8 r90152a4 10 10 // Created On : Mon Feb 6 16:07:02 2017 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Fri Jul 21 23:05:52 201713 // Update Count : 312 // Last Modified On : Thu Jul 19 13:50:51 2018 13 // Update Count : 15 14 14 // 15 15 … … 29 29 enum __attribute__(( packed )) Agn3 { E2 }; 30 30 #ifdef __CFA__ 31 struct __attribute__(( unused )) ( int ) {};32 struct __attribute__(( unused )) ( int ) {};31 struct __attribute__(( unused )) {} ( int ); 32 struct __attribute__(( unused )) Agn4 {} ( int ); 33 33 #endif // __CFA__ 34 34 … … 42 42 __attribute__(( unused )) int f5 __attribute__(( unused )); 43 43 __attribute__(( used )) int f6 __attribute__(( packed )), f7 __attribute__(( unused )) __attribute__(( unused )), __attribute__(( used )) f8 __attribute__(( unused )); 44 int __attribute__(( unused ));45 44 int ( ( * (f9) __attribute__(( unused )) ) __attribute__(( unused )) ); 46 45 }; … … 149 148 struct Vad { 150 149 int __attribute__(( unused )); 151 int __attribute__(( unused )) * __attribute__(( unused )); 152 int __attribute__(( unused )) [10] __attribute__(( unused )); 153 int __attribute__(( unused )) (*)() __attribute__(( unused )); 150 int __attribute__(( unused )) :4; 151 int __attribute__(( unused )) :4, __attribute__(( unused )) :6; 154 152 }; 155 153
Note:
See TracChangeset
for help on using the changeset viewer.