From f9e11b40856ec26d721d174384e6e3261d23e30d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hugo=20H=C3=B6rnquist?= Date: Wed, 13 Jul 2022 10:51:31 +0200 Subject: Ensure #error works. --- tests/test/cpp/preprocessor2.scm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'tests/test/cpp/preprocessor2.scm') diff --git a/tests/test/cpp/preprocessor2.scm b/tests/test/cpp/preprocessor2.scm index 39bbd39c..9b71e1ca 100644 --- a/tests/test/cpp/preprocessor2.scm +++ b/tests/test/cpp/preprocessor2.scm @@ -762,8 +762,9 @@ X ") ) -;; TODO -;; #error +(test-error "#error directive" + 'cpp-error-directive + (run "#error anything goes here")) (test-group "Pragma" (test-group "#pragma" -- cgit v1.2.3