llvm/flang/test
Tim Keith 543b15bca4 [flang] Add support for common blocks
A symbol for a common block has `CommonBlockDetails` which contains
a list of the symbols that are in the common block.

The name of the symbol for the blank common block is the empty string.
That preserves the property that every symbol name is a substring of
the cooked source. We use the 0-length substring starting at the COMMON
statement so that when symbols are sorted by the location of the start
of the name it ends up in the right place.

Some of the checks on members of common blocks don't happen until the
end of the scope. They can't happen earlier because we don't necessarily
know the type and attributes.

Enhance `test_errors.sh` so that multiple errors can be expected for
a single line.

Original-commit: flang-compiler/f18@2c4ca6b5d3
Reviewed-on: https://github.com/flang-compiler/f18/pull/286
2019-02-14 07:59:20 -08:00
..
evaluate [flang] More value semantics in Constant<> and GetScalarConstantValue 2019-02-01 13:37:49 -08:00
semantics [flang] Add support for common blocks 2019-02-14 07:59:20 -08:00
CMakeLists.txt [flang] Add name resolution tests 2018-06-15 14:54:34 -07:00