summaryrefslogtreecommitdiff
path: root/gcc/testsuite/objc.dg/strings/const-str-2.m
blob: 49ab06304330075bc839539161dedbe487d878d5 (plain)
1
2
3
4
5
6
7
8
/* Test the -fconstant-string-class flag error.  */
/* { dg-do compile } */
/* { dg-options "-fconstant-string-class=" { target *-*-* } } */
/* { dg-options "-mno-constant-cfstrings -fconstant-string-class=" { target *-*-darwin* } } */

{ dg-error "no class name specified|missing argument" "" { target *-*-* } 0 }

void foo () {}