소스 검색

Tests: Fix Fortran syntax for initialized variable

LFortran 0.44 errors without the `::`.
Brad King 9 달 전
부모
커밋
0d0a94bcfb
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      Tests/FortranOnly/preprocess2.f

+ 1 - 1
Tests/FortranOnly/preprocess2.f

@@ -1,6 +1,6 @@
 #define int INTEGER
        ! This single unmatched quote ' should not cause an error during compilation
        PROGRAM PREPRO
-       int f = 1
+       int :: f = 1
        PRINT*, f
        END