mirror of
https://github.com/google/pebble.git
synced 2025-03-20 11:01:20 +00:00
15 lines
272 B
Text
15 lines
272 B
Text
|
# Regression test for #453:
|
||
|
# Warning for float conversion with default values.
|
||
|
|
||
|
Import("env")
|
||
|
|
||
|
env2 = env.Clone()
|
||
|
|
||
|
if 'gcc' in env['CC']:
|
||
|
env2.Append(CFLAGS = '-Wconversion')
|
||
|
|
||
|
env2.NanopbProto("test.proto")
|
||
|
testprog = env2.Program(["test.c"])
|
||
|
env2.RunTest(testprog)
|
||
|
|