14 lines · plain
1! RUN: %flang_fc1 -fsyntax-only -pedantic %s 2>&1 | FileCheck %s2! Continuation between repeated quotation marks3subroutine test4!CHECK: portability: Character literal continuation line should have been preceded by '&'5 print *, 'needs an '&6'ampersand'''7!CHECK: portability: Character literal continuation line should have been preceded by '&'8 print *, 'also needs an '&9 'ampersand'''10!CHECK-NOT: portability: Character literal continuation line should have been preceded by '&'11 print *, 'has an '&12&'ampersand'''13end14