Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gcc.dg/pr77521.c @ 131:84e7813d76e9
gcc-8.2
author | mir3636 |
---|---|
date | Thu, 25 Oct 2018 07:37:49 +0900 |
parents | 04ced10e8804 |
children |
line wrap: on
line source
/* PR c/77521 - %qc format directive should quote non-printable characters. Verify that non-printable characters in assembly constraints are quoted and not allowed to be printed raw. */ void f (int a, int b) { __asm__ ("combine %2, %0" : "=r" (a) : "0" (a), "\n" (b)); /* { dg-error "invalid punctuation .\\\\x0a. in constraint" } */ }