1f08c3bdfSopenharmony_cistatic void kos(int *r, int a) 2f08c3bdfSopenharmony_ci{ 3f08c3bdfSopenharmony_ci r = ({ __builtin_types_compatible_p(int, int); }); 4f08c3bdfSopenharmony_ci} 5f08c3bdfSopenharmony_ci 6f08c3bdfSopenharmony_ci/* 7f08c3bdfSopenharmony_ci * check-name: eval-bad-assign1 8f08c3bdfSopenharmony_ci * 9f08c3bdfSopenharmony_ci * check-error-start 10f08c3bdfSopenharmony_cieval-bad-assign1.c:3:11: warning: incorrect type in assignment (different base types) 11f08c3bdfSopenharmony_cieval-bad-assign1.c:3:11: expected int *r 12f08c3bdfSopenharmony_cieval-bad-assign1.c:3:11: got int 13f08c3bdfSopenharmony_ci * check-error-end 14f08c3bdfSopenharmony_ci */ 15