From bf35f707879de45add13dd4ec1176aa53334da6c Mon Sep 17 00:00:00 2001 From: Jens Maurer Date: Fri, 20 Jun 2025 22:34:36 +0200 Subject: [PATCH] P3618R0 Allow attaching main to the global module --- source/basic.tex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/basic.tex b/source/basic.tex index 8178129463..7c880d24fd 100644 --- a/source/basic.tex +++ b/source/basic.tex @@ -6883,7 +6883,7 @@ \keyword{inline}, \keyword{static}, \keyword{constexpr}, or \keyword{consteval} is ill-formed. The function \tcode{main} shall not be a coroutine\iref{dcl.fct.def.coroutine}. The \tcode{main} function shall not be declared with a -\grammarterm{linkage-specification}\iref{dcl.link}. +\grammarterm{linkage-specification}\iref{dcl.link} other than \tcode{"C++"}. A program that declares \begin{itemize} \item