Skip to content

Commit

Permalink
Added test for binary hex literal
Browse files Browse the repository at this point in the history
  • Loading branch information
jjchoy committed Jul 1, 2014
1 parent ac0543f commit 5b84dba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion c++/src/capnp/test.capnp
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ struct TestDefaults {
float32Field @10 : Float32 = 1234.5;
float64Field @11 : Float64 = -123e45;
textField @12 : Text = "foo";
dataField @13 : Data = "bar";
dataField @13 : Data = 0x"62 61 72"; # "bar"
structField @14 : TestAllTypes = (
voidField = void,
boolField = true,
Expand Down

0 comments on commit 5b84dba

Please sign in to comment.