1! RUN: %S/test_errors.sh %s %t %flang_fc1
2! REQUIRES: shell
3! C1108  --  Save statement in a BLOCK construct shall not conatin a
4!            saved-entity-list that does not specify a common-block-name
5
6program  main
7  integer x, y, z
8  real r, s, t
9  common /argmnt2/ r, s, t
10  !ERROR: 'argmnt1' appears as a COMMON block in a SAVE statement but not in a COMMON statement
11  save /argmnt1/
12  block
13    !ERROR: SAVE statement in BLOCK construct may not contain a common block name 'argmnt2'
14    save /argmnt2/
15  end block
16end program
17