aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/c-c++-common/raw-string-11.c
blob: daa75f316abd9657b2b2716304c1b60e8234ad01 (plain)
1
2
3
4
5
6
7
8
9
10
11
// PR preprocessor/48740
// { dg-do run { target { c || c++11 } } }
// { dg-options "-std=gnu99 -trigraphs -save-temps" { target c } }
// { dg-options "-save-temps" { target c++ } }

int main ()
{
  return __builtin_memcmp (R"raw(foo%sbar%sfred%sbob?????)raw",
			   "foo%sbar%sfred%sbob?""?""?""?""?",
			   sizeof ("foo%sbar%sfred%sbob?""?""?""?""?"));
}