OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [c-c++-common/] [raw-string-11.c] - Rev 686

Compare with Previous | Blame | View Log

// PR preprocessor/48740
// { dg-options "-std=gnu99 -trigraphs -save-temps" { target c } }
// { dg-options "-std=c++0x -save-temps" { target c++ } }
// { dg-do run }
 
int main ()
{
  return __builtin_memcmp (R"raw(foo%sbar%sfred%sbob?????)raw",
			   "foo%sbar%sfred%sbob?""?""?""?""?",
			   sizeof ("foo%sbar%sfred%sbob?""?""?""?""?"));
}
 
// { dg-final { cleanup-saved-temps } }
 

Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.