Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/objc.dg/strings/const-str-12.m @ 138:fc828634a951
merge
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Thu, 08 Nov 2018 14:17:14 +0900 |
parents | 04ced10e8804 |
children |
line wrap: on
line source
/* { dg-options "-Wall -funit-at-a-time" } */ /* { dg-do compile } */ /* PR objc/27438, make sure that the decl produced by the front-end does not cause a warning to be produced. */ /* { dg-skip-if "" { *-*-* } { "-fnext-runtime" } { "" } } */ @interface NXConstantString { void *isa; const char * const nxcsptr; const unsigned int nxcslen; } @end NXConstantString *a = @"NSInconsistentArchiveException"; /* { dg-bogus "defined but not used" } */