summaryrefslogtreecommitdiff
path: root/tests/examplefiles/cpp/noexcept.cpp
diff options
context:
space:
mode:
authorOleh Prypin <oleh@pryp.in>2021-01-20 10:48:45 +0100
committerGitHub <noreply@github.com>2021-01-20 10:48:45 +0100
commit6f4309217326430145564ae8b1bb393ea684f39f (patch)
treebf4025a5e709426dc927c4afc4fd2286f8450ed9 /tests/examplefiles/cpp/noexcept.cpp
parentf0445be718da83541ea3401aad882f3937147263 (diff)
downloadpygments-git-6f4309217326430145564ae8b1bb393ea684f39f.tar.gz
Also add auto-updatable output-based tests to examplefiles (#1689)
Co-authored-by: Georg Brandl <georg@python.org>
Diffstat (limited to 'tests/examplefiles/cpp/noexcept.cpp')
-rw-r--r--tests/examplefiles/cpp/noexcept.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/examplefiles/cpp/noexcept.cpp b/tests/examplefiles/cpp/noexcept.cpp
new file mode 100644
index 00000000..f83e50db
--- /dev/null
+++ b/tests/examplefiles/cpp/noexcept.cpp
@@ -0,0 +1,8 @@
+void* operator new (std::size_t size);
+void* operator new (std::size_t size, const std::nothrow_t& nothrow_value) noexcept;
+void* operator new (std::size_t size, const std::nothrow_t& nothrow_value)noexcept;
+void* operator new (std::size_t size, const std::nothrow_t& nothrow_value);
+void* operator new (std::size_t size);
+void* operator new (std::size_t size) noexcept;
+void* operator new (std::size_t size)noexcept;
+