]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/libs/wave/test/testwave/testfiles/t_5_037.cpp
import quincy beta 17.1.0
[ceph.git] / ceph / src / boost / libs / wave / test / testwave / testfiles / t_5_037.cpp
diff --git a/ceph/src/boost/libs/wave/test/testwave/testfiles/t_5_037.cpp b/ceph/src/boost/libs/wave/test/testwave/testfiles/t_5_037.cpp
new file mode 100644 (file)
index 0000000..7797f5b
--- /dev/null
@@ -0,0 +1,79 @@
+/*=============================================================================
+    Boost.Wave: A Standard compliant C++ preprocessor library
+    http://www.boost.org/
+
+    Copyright (c) 2020 Jeff Trull. 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)
+
+    The body of this test is taken directly from a standard proposal:
+    http://www.open-std.org/jtc1/sc22/wg14/www/docs/n1911.htm
+=============================================================================*/
+
+
+#line 500
+  #define MAC(a,b) a,b,__LINE__
+
+  #line 1000
+int j[] = {__LINE__, __\
+LINE\
+__,
+
+#line 2000
+#line __\
+LINE\
+__
+    __LINE__,
+
+#line 3000
+#line                                                                          \
+                                                                               \
+                                                                               \
+    __LINE__
+
+
+    /**/
+    __LINE__,
+
+    MAC(__LINE__, __LINE__),
+
+    MAC(__LINE__, __LINE__), __LINE__,
+
+    M\
+A\
+C
+
+    (
+
+        __\
+LINE\
+__,
+        __LINE__
+
+        ),
+    __LINE__,
+
+    M\
+A\
+C(__\
+LINE\
+__,
+        __LINE__),
+    __LINE__, 999};
+
+//R #line 1000 "t_5_037.cpp"
+//R int j[] = {1000, 1000,
+//R #line 2000 "t_5_037.cpp"
+//R 2000,
+//R #line 3006 "t_5_037.cpp"
+//R 3006,
+//R 
+//R 3008, 3008,3008,
+//R 
+//R 3010, 3010,3010, 3010,
+//R 
+//R 3018, 3021 ,3012,
+//R 3024,
+//R #line 3026 "t_5_037.cpp"
+//R 3028, 3031,3026,
+//R 3032, 999};