We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ab85259 commit 43e7d98Copy full SHA for 43e7d98
clang/test/Preprocessor/stdint.c
@@ -1640,6 +1640,14 @@
1640
// JOIN:INTMAX_C_(0) 0LL
1641
// JOIN:UINTMAX_C_(0) 0ULL
1642
1643
+// Demonstrate that you can define the integer literal suffixes as a macro and
1644
+// it will not interfere with the definitions in stdint.h due to invalid tokens
1645
+// formed via token pasting. See GH85995 for details.
1646
+#define L %
1647
+#define UL %
1648
+#define LL %
1649
+#define ULL %
1650
+
1651
#include <stdint.h>
1652
1653
INT8_MAX_ INT8_MAX
0 commit comments