[PATCH] D104975: Implement P1949
Ade Durcov via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed May 4 20:15:58 PDT 2022
intractabilis added a comment.
I checked the latest GCC 12. Despite P1949 <https://reviews.llvm.org/P1949> support, I can use math symbols like 𝜕 and 𝛻 without any problem with any combination of `-std=c++xx`, xx ≠ 98, xx ≠ 03. Thanks, God, there are reasonable people in the GCC team.
test.cpp:
#include <iostream>
int main(int argc, char* argv[]) {
auto 𝜕Ω = 4;
std::cout << "𝜕Ω = " << 𝜕Ω << std::endl;
}
$ g++ --version
g++ (GCC) 12.0.1 20220504 (prerelease)
Copyright (C) 2022 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
$ g++ -std=c++23 -o test test.cpp
$ ./test
𝜕Ω = 4
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D104975/new/
https://reviews.llvm.org/D104975
More information about the cfe-commits
mailing list