Changeset 30cf6b0
- Timestamp:
- Oct 11, 2020, 10:29:06 AM (4 years ago)
- Branches:
- ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- aa90b2c
- Parents:
- a33704d
- Location:
- tests
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
tests/.expect/init1.txt
ra33704d r30cf6b0 1 init1.cfa: In function '_X1fFv___1':2 init1.cfa:43:69: warning: initialization of 'int (*)(int)' from incompatible pointer type 'void (*)()' [-Wincompatible-pointer-types]3 init1.cfa:44:29: warning: assignment to 'int (*)(int)' from incompatible pointer type 'void (*)()' [-Wincompatible-pointer-types]4 1 init1.cfa: In function '_X4mainFi___1': 5 init1.cfa:13 2:9: note: #pragma message: Compiled2 init1.cfa:136:9: note: #pragma message: Compiled -
tests/init1.cfa
ra33704d r30cf6b0 10 10 // Created On : Thu Jul 16 22:00:00 2020 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Fri Oct 9 23:11:02202013 // Update Count : 512 // Last Modified On : Sun Oct 11 10:26:50 2020 13 // Update Count : 8 14 14 // 15 15 … … 41 41 const float * cpx2 = cpx; 42 42 43 // FIX ME: Code gen not producing correct cast. 44 #pragma GCC diagnostic push 45 #pragma GCC diagnostic ignored "-Wincompatible-pointer-types" 43 46 int (* fp)( int ) = 0p; 44 47 fp = 0p; 48 #pragma GCC diagnostic pop 45 49 46 50 //
Note: See TracChangeset
for help on using the changeset viewer.