LWG 3035. std::allocator's constructors should be constexpr
[official-gcc.git] / gcc / testsuite / gcc.dg / opts-2.c
blobf7683635a0e5cc8172cad2c56235e44bf3760d68
1 /* -O as an operand to another option should not take effect as an
2 optimization option. */
3 /* { dg-do compile } */
4 /* { dg-options "-I -O" } */
6 #ifdef __OPTIMIZE__
7 #error "__OPTIMIZE__ defined"
8 #endif