(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.dg/
utf-badconcat.c
       1  /* Contributed by Kris Van Hees <kris.van.hees@oracle.com> */
       2  /* Test unsupported concatenation of char16_t/char32_t* string literals. */
       3  /* { dg-do compile } */
       4  /* { dg-options "-std=gnu99" } */
       5  
       6  void	*s0	= u"a"  "b";
       7  void	*s1	=  "a" u"b";
       8  void	*s2	= u"a" U"b";	/* { dg-error "non-standard concatenation" } */
       9  void	*s3	= U"a" u"b";	/* { dg-error "non-standard concatenation" } */
      10  void	*s4	= u"a" L"b";	/* { dg-error "non-standard concatenation" } */
      11  void	*s5	= L"a" u"b";	/* { dg-error "non-standard concatenation" } */
      12  void	*s6	= u"a" u"b";
      13  void	*s7	= U"a"  "b";
      14  void	*s8	=  "a" U"b";
      15  void	*s9	= U"a" L"b";	/* { dg-error "non-standard concatenation" } */
      16  void	*sa	= L"a" U"b";	/* { dg-error "non-standard concatenation" } */
      17  void	*sb	= U"a" U"b";
      18  void	*sc	= L"a"  "b";
      19  void	*sd	=  "a" L"b";
      20  void	*se	= L"a" L"b";
      21  
      22  int main () {}