Преглед на файлове

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