[flang-commits] [flang] 10ae933 - [flang] Fixup 7ddbf2633911a5c378ad6af01e250f6f252b9032
Diana Picus via flang-commits
flang-commits at lists.llvm.org
Wed Jun 16 02:43:19 PDT 2021
Author: Diana Picus
Date: 2021-06-16T09:43:07Z
New Revision: 10ae933b0b1af00a04a251cf560bb935f1a9f18a
URL: https://github.com/llvm/llvm-project/commit/10ae933b0b1af00a04a251cf560bb935f1a9f18a
DIFF: https://github.com/llvm/llvm-project/commit/10ae933b0b1af00a04a251cf560bb935f1a9f18a.diff
LOG: [flang] Fixup 7ddbf2633911a5c378ad6af01e250f6f252b9032
Replace C++ comments with C-style comments (not sure why my C compiler
doesn't complain about this).
Added:
Modified:
flang/test/Runtime/no-cpp-dep.c
Removed:
################################################################################
diff --git a/flang/test/Runtime/no-cpp-dep.c b/flang/test/Runtime/no-cpp-dep.c
index 1199f76fbd675..a35a52d91ac39 100644
--- a/flang/test/Runtime/no-cpp-dep.c
+++ b/flang/test/Runtime/no-cpp-dep.c
@@ -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() {
More information about the flang-commits
mailing list