build_tools/SCons/test/include_CXXFLAGS/src/not-with-pedantic.h
raw| 1 | /** |
| 2 | * @file not-with-pedantic.h |
| 3 | * Compiles, but not with -pedantic. |
| 4 | * |
| 5 | * @author Gašper Ažman (GA), [email protected] |
| 6 | * @version 1.0 |
| 7 | * @since 2008-09-30 13:33:50 |
| 8 | */ |
| 9 | |
| 10 | |
| 11 | #include <cxxtest/TestSuite.h> |
| 12 | |
| 13 | class TestPedantic : public CxxTest::TestSuite |
| 14 | { |
| 15 | public: |
| 16 | void testPedanticPresent() { |
| 17 | int f = (true)?:5; |
| 18 | } |
| 19 | }; |