mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-07 22:30:13 -06:00
Tests: Add Fortran test C function prototype
One of three Fortran/C interface test functions is missing a prototype, which causes warnings and sometimes errors depending on compiler versions and flags. Signed-off-by: William R. Dieter <william.r.dieter@intel.com>
This commit is contained in:
committed by
Brad King
parent
18687760f4
commit
812000904e
@@ -1,5 +1,6 @@
|
||||
#include "foo.h"
|
||||
extern void F_test_mod_sub(void);
|
||||
extern void F_my_sub(void);
|
||||
extern void F_mysub(void);
|
||||
int myc(void)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user