2 ! { dg-additional-options "-Wcharacter-truncation" }
3 ! PR 82743 - warnings were missing on truncation of structure
5 ! Original test case by Simon Klüpfel
11 A1
=A("123") ! { dg-warning "CHARACTER expression will be truncated" }
12 A1
=A(C
="123") ! { dg-warning "CHARACTER expression will be truncated" }
13 A1
%C
="123" ! { dg-warning "CHARACTER expression will be truncated" }