summaryrefslogtreecommitdiffstats
path: root/debian/uncrustify-trinity/uncrustify-trinity-0.72.0/tests/expected/cpp/30824-pp_indent_extern.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'debian/uncrustify-trinity/uncrustify-trinity-0.72.0/tests/expected/cpp/30824-pp_indent_extern.cpp')
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.72.0/tests/expected/cpp/30824-pp_indent_extern.cpp14
1 files changed, 14 insertions, 0 deletions
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.72.0/tests/expected/cpp/30824-pp_indent_extern.cpp b/debian/uncrustify-trinity/uncrustify-trinity-0.72.0/tests/expected/cpp/30824-pp_indent_extern.cpp
new file mode 100644
index 00000000..995db611
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.72.0/tests/expected/cpp/30824-pp_indent_extern.cpp
@@ -0,0 +1,14 @@
+// Example for extern "C" blocks inside preprocessor statements
+// Config uses more than tested option, uses:
+// pp_if_indent_code = true to enable preprocesser indent
+// pp_indent_extern = false to override preprocessor indent for braces
+int x = 1;
+#ifdef __cplusplus
+extern "C" {
+
+void some_c_function
+(
+ void
+);
+}
+#endif \ No newline at end of file