summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/opts-2.c
blob: f7683635a0e5cc8172cad2c56235e44bf3760d68 (plain)
1
2
3
4
5
6
7
8
/* -O as an operand to another option should not take effect as an
    optimization option.  */
/* { dg-do compile } */
/* { dg-options "-I -O" } */

#ifdef __OPTIMIZE__
#error "__OPTIMIZE__ defined"
#endif