mirror of
https://github.com/google/pebble.git
synced 2025-03-19 18:41:21 +00:00
14 lines
272 B
Python
14 lines
272 B
Python
# 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)
|
|
|