- Timestamp:
- Feb 1, 2021, 2:42:22 PM (5 years ago)
- Branches:
- ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- 8be729f, c235179
- Parents:
- cd70477 (diff), 5669d0b (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. - Location:
- tests
- Files:
-
- 2 added
- 6 edited
-
.expect/attributes.nast.x64.txt (modified) (2 diffs)
-
.expect/attributes.nast.x86.txt (modified) (2 diffs)
-
.expect/attributes.oast.x64.txt (modified) (2 diffs)
-
.expect/attributes.oast.x86.txt (modified) (2 diffs)
-
alloc2.cfa (modified) (1 diff)
-
attributes.cfa (modified) (2 diffs)
-
linking/.expect/weakso_nothd.txt (added)
-
linking/weakso_nothd.cfa (added)
Legend:
- Unmodified
- Added
- Removed
-
tests/.expect/attributes.nast.x64.txt
rcd70477 rf99f5ba 6 6 7 7 } 8 struct __a ttribute__ ((unused)) __anonymous0 {8 struct __anonymous0 { 9 9 }; 10 10 static inline void _X12_constructorFv_S12__anonymous0_autogen___1(struct __anonymous0 *_X4_dstS12__anonymous0_1); … … 26 26 return _X4_retS12__anonymous0_1; 27 27 } 28 __attribute__ ((unused)) struct __anonymous0 _X5DummyS12__anonymous0_1; 28 29 struct __attribute__ ((unused)) Agn1; 29 30 struct __attribute__ ((unused)) Agn2 { -
tests/.expect/attributes.nast.x86.txt
rcd70477 rf99f5ba 6 6 7 7 } 8 struct __a ttribute__ ((unused)) __anonymous0 {8 struct __anonymous0 { 9 9 }; 10 10 static inline void _X12_constructorFv_S12__anonymous0_autogen___1(struct __anonymous0 *_X4_dstS12__anonymous0_1); … … 26 26 return _X4_retS12__anonymous0_1; 27 27 } 28 __attribute__ ((unused)) struct __anonymous0 _X5DummyS12__anonymous0_1; 28 29 struct __attribute__ ((unused)) Agn1; 29 30 struct __attribute__ ((unused)) Agn2 { -
tests/.expect/attributes.oast.x64.txt
rcd70477 rf99f5ba 6 6 7 7 } 8 struct __a ttribute__ ((unused)) __anonymous0 {8 struct __anonymous0 { 9 9 }; 10 10 static inline void _X12_constructorFv_S12__anonymous0_autogen___1(struct __anonymous0 *_X4_dstS12__anonymous0_1); … … 26 26 return _X4_retS12__anonymous0_1; 27 27 } 28 __attribute__ ((unused)) struct __anonymous0 _X5DummyS12__anonymous0_1; 28 29 struct __attribute__ ((unused)) Agn1; 29 30 struct __attribute__ ((unused)) Agn2 { -
tests/.expect/attributes.oast.x86.txt
rcd70477 rf99f5ba 6 6 7 7 } 8 struct __a ttribute__ ((unused)) __anonymous0 {8 struct __anonymous0 { 9 9 }; 10 10 static inline void _X12_constructorFv_S12__anonymous0_autogen___1(struct __anonymous0 *_X4_dstS12__anonymous0_1); … … 26 26 return _X4_retS12__anonymous0_1; 27 27 } 28 __attribute__ ((unused)) struct __anonymous0 _X5DummyS12__anonymous0_1; 28 29 struct __attribute__ ((unused)) Agn1; 29 30 struct __attribute__ ((unused)) Agn2 { -
tests/alloc2.cfa
rcd70477 rf99f5ba 16 16 bool passed = (malloc_size(ip) == size) && (malloc_usable_size(ip) >= size) && (malloc_alignment(ip) == align) && ((uintptr_t)ip % align == 0); 17 17 if (!passed) { 18 printf("failed test %3d: %4 lu %4lu but got %4lu ( %3lu ) %4lu\n", tests_total, size, align, malloc_size(ip), malloc_usable_size(ip), malloc_alignment(ip));18 printf("failed test %3d: %4zu %4zu but got %4zu ( %3zu ) %4zu\n", tests_total, size, align, malloc_size(ip), malloc_usable_size(ip), malloc_alignment(ip)); 19 19 tests_failed += 1; 20 20 } -
tests/attributes.cfa
rcd70477 rf99f5ba 10 10 // Created On : Mon Feb 6 16:07:02 2017 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Tue Nov 6 17:51:12 201813 // Update Count : 1712 // Last Modified On : Mon Jan 25 21:26:41 2021 13 // Update Count : 20 14 14 // 15 15 … … 22 22 23 23 // aggregate_name 24 struct __attribute__(( unused )) {} ;24 struct __attribute__(( unused )) {} Dummy; 25 25 struct __attribute__(( unused )) Agn1; 26 26 struct __attribute__(( unused )) Agn2 {};
Note:
See TracChangeset
for help on using the changeset viewer.