| 1 |
# Regression test for #453: |
| 2 |
# Warning for float conversion with default values. |
| 3 |
|
| 4 |
Import("env") |
| 5 |
|
| 6 |
env2 = env.Clone() |
| 7 |
|
| 8 |
if 'gcc' in env['CC']: |
| 9 |
env2.Append(CFLAGS = '-Wconversion') |
| 10 |
|
| 11 |
env2.NanopbProto("test.proto") |
| 12 |
testprog = env2.Program(["test.c"]) |
| 13 |
env2.RunTest(testprog) |
| 14 |
|