Add support for C++14 binary integer literals

Closes #1030.
This commit is contained in:
Zackery Spytz 2019-02-10 15:38:49 -07:00
commit 23d83cd9c1
5 changed files with 68 additions and 0 deletions

View file

@ -0,0 +1,16 @@
from cpp14_binary_integer_literals import *
if cvar.b1 != 1:
raise RuntimeError
if cvar.b2 != 2:
raise RuntimeError
if cvar.b3 != 3:
raise RuntimeError
if cvar.b4 != 4:
raise RuntimeError
if cvar.b5 != 5:
raise RuntimeError