test8.f90 Source File


This file depends on

sourcefile~~test8.f90~~EfferentGraph sourcefile~test8.f90 test8.f90 sourcefile~forcompile.f90 forcompile.f90 sourcefile~test8.f90->sourcefile~forcompile.f90

Contents

Source Code


Source Code

program test_8

   use forcompile, only: compiler_explorer
   implicit none
   type(compiler_explorer) :: ce

   call ce%set_source("&
      int main() { return 0; }&
      ")
   call ce%set_compiler_id('g82')

   call ce%options%set_userArguments('-O3')
   call ce%options%set_compilerOptions(skipAsm=.false., executorRequest=.false.)
   call ce%options%set_filters(&
      binary=.false.,&
      binaryObject=.false.,&
      commentOnly=.true.,&
      demangle=.true.,&
      directives=.true.,&
      execute=.true.,&
      intel=.true.,&
      labels=.true.,&
      libraryCode=.false.,&
      trim=.false.,&
      debugCalls=.false.)
   call ce%options%set_tools(id='clangtidytrunk', args='-checks=*')
   call ce%options%set_libraries(id='range-v3', version='trunk')
   call ce%options%set_libraries(id='fmt', version='400')

   call ce%set_lang('c++')
   call ce%set_allowStoreCodeDebug(.true.)

   call ce%compile()
   call ce%finalize()

end program test_8