summaryrefslogtreecommitdiffstats
path: root/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/c/02521-pp_indent_with_tabs.c
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-12-01 12:38:43 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-12-01 12:38:43 +0900
commitb67b7f2b784c7105e88a5e639d9d84736ae2cbc1 (patch)
tree0fd16d439c681c07d57d7f0d544c7582e04c3a31 /debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/c/02521-pp_indent_with_tabs.c
parentc0a6f1b84c84749908961579b84513fd9f9d9eac (diff)
downloadextra-dependencies-b67b7f2b784c7105e88a5e639d9d84736ae2cbc1.tar.gz
extra-dependencies-b67b7f2b784c7105e88a5e639d9d84736ae2cbc1.zip
uncrustify-trinity: updated based on upstream version 0.78.1
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/c/02521-pp_indent_with_tabs.c')
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/c/02521-pp_indent_with_tabs.c167
1 files changed, 167 insertions, 0 deletions
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/c/02521-pp_indent_with_tabs.c b/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/c/02521-pp_indent_with_tabs.c
new file mode 100644
index 00000000..dbf66a9e
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/c/02521-pp_indent_with_tabs.c
@@ -0,0 +1,167 @@
+#ifndef _XTRANSINT_H_
+#define _XTRANSINT_H_
+
+int main()
+{
+ if (true)
+ {
+ if (true)
+ {
+ if (true)
+ {
+ if (true)
+ {
+ if (true)
+ {
+ int i = 0;
+ }
+ }
+ }
+ }
+ }
+}
+
+#ifndef OPEN_MAX
+ #ifdef SVR4
+ #define OPEN_MAX 256
+ #else
+ #include <sys/param.h>
+ #ifndef OPEN_MAX
+ #if defined(__OSF1__) || defined(__osf__)
+ #define OPEN_MAX 256
+ #else
+ #ifdef NOFILE
+ #define OPEN_MAX NOFILE
+ #else
+ #if !defined(__EMX__) && !defined(__QNX__)
+ #define OPEN_MAX NOFILES_MAX
+ #else
+ #define OPEN_MAX 256
+ #ifdef NOFILE
+ #define OPEN_MAX NOFILE
+ #else
+ #define OPEN_MAX 256
+ #ifdef NOFILE
+ #define OPEN_MAX NOFILE
+ #endif
+ #endif
+ #endif
+ #endif
+ #endif
+ #endif
+ #endif
+#endif
+
+#ifndef __EMX__
+ #define XTRANSDEBUG 1
+#else
+ #define XTRANSDEBUG 1
+#endif
+
+#ifdef _WIN32
+ #define _WILLWINSOCK_
+#endif
+
+#include "Xtrans.h"
+
+#ifdef XTRANSDEBUG
+ #include <stdio.h>
+#endif /* XTRANSDEBUG */
+
+#include <errno.h>
+#ifdef X_NOT_STDC_ENV
+extern int errno; /* Internal system error number. */
+#endif
+
+#ifndef _WIN32
+ #ifndef MINIX
+ #ifndef Lynx
+ #include <sys/socket.h>
+ #else
+ #include <socket.h>
+ #endif
+ #include <netinet/in.h>
+ #include <arpa/inet.h>
+ #endif
+ #ifdef __EMX__
+ #include <sys/ioctl.h>
+ #endif
+
+ #if (defined(_POSIX_SOURCE) && !defined(AIXV3) && !defined(__QNX__)) || defined(hpux) || defined(USG) || defined(SVR4) || defined(SCO)
+ #ifndef NEED_UTSNAME
+ #define NEED_UTSNAME
+ #endif
+ #include <sys/utsname.h>
+ #endif
+
+ #ifndef TRANS_OPEN_MAX
+
+ #ifndef X_NOT_POSIX
+ #ifdef _POSIX_SOURCE
+ #include <limits.h>
+ #else
+ #define _POSIX_SOURCE
+ #include <limits.h>
+ #undef _POSIX_SOURCE
+ #endif
+ #endif
+ #ifndef OPEN_MAX
+ #ifdef __GNU__
+ #define OPEN_MAX (sysconf(_SC_OPEN_MAX))
+ #endif
+ #ifdef SVR4
+ #define OPEN_MAX 256
+ #else
+ #include <sys/param.h>
+ #ifndef OPEN_MAX
+ #if defined(__OSF1__) || defined(__osf__)
+ #define OPEN_MAX 256
+ #else
+ #ifdef NOFILE
+ #define OPEN_MAX NOFILE
+ #else
+ #if !defined(__EMX__) && !defined(__QNX__)
+ #define OPEN_MAX NOFILES_MAX
+ #else
+ #define OPEN_MAX 256
+ #endif
+ #endif
+ #endif
+ #endif
+ #endif
+ #endif
+ #ifdef __GNU__
+ #define TRANS_OPEN_MAX OPEN_MAX
+ #elif OPEN_MAX > 256
+ #define TRANS_OPEN_MAX 256
+ #else
+ #define TRANS_OPEN_MAX OPEN_MAX
+ #endif /*__GNU__*/
+
+ #endif /* TRANS_OPEN_MAX */
+
+ #ifdef __EMX__
+ #define ESET(val)
+ #else
+ #define ESET(val) errno = val
+ #endif
+ #define EGET() errno
+
+#else /* _WIN32 */
+
+ #include <limits.h> /* for USHRT_MAX */
+
+ #define ESET(val) WSASetLastError(val)
+ #define EGET() WSAGetLastError()
+
+#endif /* _WIN32 */
+
+#ifndef NULL
+ #define NULL 0
+#endif
+
+#ifdef X11_t
+ #define X_TCP_PORT 6000
+#endif
+
+#endif