Fix type signature of main test function
authorErik de Castro Lopo <erikd@mega-nerd.com>
Fri, 4 Nov 2016 21:19:36 +0000 (08:19 +1100)
committerErik de Castro Lopo <erikd@mega-nerd.com>
Fri, 4 Nov 2016 21:19:47 +0000 (08:19 +1100)
commitfe2de68c064cf6215b5077740d33cb2a67920b14
treeaf6437bf5b5991b587abf350bafcb27069a5e1c8
parentf5ae016e5a69ebf42d612805e51afd9227df9389
Fix type signature of main test function

During C compiler feature testing, the `main` function was defined
with a parameter list of `(int argc, char *argv [])` but these
parameters were not used. This results in compiler warnings when
the generated file is compiled with the `-Wextra` warning flag
added to the `cc-options` of the cabal file.

Reviewers: hvr, RyanGlScott, bgamari, rwbarton

Reviewed By: rwbarton

Differential Revision: https://phabricator.haskell.org/D2677
DirectCodegen.hs