cxxflags.cc 349 B

123456789101112131415
  1. /* Copyright (c) 2010 Google Inc. All rights reserved.
  2. * Use of this source code is governed by a BSD-style license that can be
  3. * found in the LICENSE file. */
  4. #include <stdio.h>
  5. int main(int argc, char *argv[])
  6. {
  7. #ifdef __OPTIMIZE__
  8. printf("Using an optimization flag\n");
  9. #else
  10. printf("Using no optimization flag\n");
  11. #endif
  12. return 0;
  13. }