summaryrefslogtreecommitdiffstats
path: root/src/boost/libs/wave/test/testwave/testfiles/t_2_011.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/boost/libs/wave/test/testwave/testfiles/t_2_011.cpp')
-rw-r--r--src/boost/libs/wave/test/testwave/testfiles/t_2_011.cpp21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/boost/libs/wave/test/testwave/testfiles/t_2_011.cpp b/src/boost/libs/wave/test/testwave/testfiles/t_2_011.cpp
new file mode 100644
index 000000000..8f8dfedf3
--- /dev/null
+++ b/src/boost/libs/wave/test/testwave/testfiles/t_2_011.cpp
@@ -0,0 +1,21 @@
+/*=============================================================================
+ Boost.Wave: A Standard compliant C++ preprocessor library
+ http://www.boost.org/
+
+ Copyright (c) 2001-2012 Hartmut Kaiser. Distributed under the Boost
+ Software License, Version 1.0. (See accompanying file
+ LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+=============================================================================*/
+
+// Tests error reporting for missing #if
+
+//E t_2_011.cpp(15): error: the #if for this directive is missing: #endif
+#if 1
+#endif
+#endif
+
+//H 10: t_2_011.cpp(13): #if
+//H 11: t_2_011.cpp(13): #if 1: 1
+//H 10: t_2_011.cpp(14): #endif
+//H 10: t_2_011.cpp(15): #endif
+//H 18: boost::wave::preprocess_exception