aboutsummaryrefslogtreecommitdiff
path: root/clang/test/Preprocessor/macro_rescan_varargs.c
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/Preprocessor/macro_rescan_varargs.c')
-rw-r--r--clang/test/Preprocessor/macro_rescan_varargs.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/clang/test/Preprocessor/macro_rescan_varargs.c b/clang/test/Preprocessor/macro_rescan_varargs.c
deleted file mode 100644
index 3c79d0e..0000000
--- a/clang/test/Preprocessor/macro_rescan_varargs.c
+++ /dev/null
@@ -1,10 +0,0 @@
-// RUN: clang -E %s | grep -F "1: F, (, 'a', 'b', );" &&
-// RUN: clang -E %s | grep -F "2: 'a' + 'b';"
-#define LPAREN (
-#define RPAREN )
-#define F(x, y) x + y
-#define ELLIP_FUNC(...) __VA_ARGS__
-
-1: ELLIP_FUNC(F, LPAREN, 'a', 'b', RPAREN); /* 1st invocation */
-2: ELLIP_FUNC(F LPAREN 'a', 'b' RPAREN); /* 2nd invocation */
-