[flang] Fixup 7ddbf26339
Replace C++ comments with C-style comments (not sure why my C compiler doesn't complain about this).
This commit is contained in:
parent
c8a3fce776
commit
10ae933b0b
|
@ -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() {
|
||||
|
|
Loading…
Reference in a new issue