1 /* { dg-skip-if "too big" { nvptx-*-* } } */
2 /* PR middle-end/46534 */
3 
4 extern int printf (const char *, ...);
5 
6 #define S1 "                    "
7 #define S2 S1 S1 S1 S1 S1 S1 S1 S1 S1 S1
8 #define S3 S2 S2 S2 S2 S2 S2 S2 S2 S2 S2
9 #define S4 S3 S3 S3 S3 S3 S3 S3 S3 S3 S3
10 #define S5 S4 S4 S4 S4 S4 S4 S4 S4 S4 S4
11 #define S6 S5 S5 S5 S5 S5 S5 S5 S5 S5 S5
12 #define S7 S6 S6 S6 S6 S6 S6 S6 S6 S6 S6
13 
14 void
foo(void)15 foo (void)
16 {
17   printf (S7 "\n");  /* { dg-error "size of string literal is too large" "" { target { ! size32plus } } } */
18 }
19