Replace C++ comments with C-style comments (not sure why my C compiler
doesn't complain about this).
This commit is contained in:
Diana Picus 2021-06-16 09:41:11 +00:00
parent c8a3fce776
commit 10ae933b0b

View file

@ -1,16 +1,20 @@
// This test makes sure that flang's runtime does not depend on the C++ runtime
// library. It tries to link this simple file against libFortranRuntime.a with
// a C compiler.
//
// REQUIRES: c-compiler
//
// RUN: %cc -std=c90 %s -I%runtimeincludes %libruntime -o /dev/null
/*
This test makes sure that flang's runtime does not depend on the C++ runtime
library. It tries to link this simple file against libFortranRuntime.a with
a C compiler.
REQUIRES: c-compiler
RUN: %cc -std=c90 %s -I%runtimeincludes %libruntime -o /dev/null
*/
#include "entry-names.h"
// Manually add declarations for the runtime functions that we want to make sure
// we're testing. We can't include any headers directly since they likely
// contain C++ code that would explode here.
/*
Manually add declarations for the runtime functions that we want to make sure
we're testing. We can't include any headers directly since they likely contain
C++ code that would explode here.
*/
double RTNAME(CpuTime)();
int main() {