summaryrefslogtreecommitdiffstats
path: root/tests/auto/tools
diff options
context:
space:
mode:
authorVille Voutilainen <ville.voutilainen@qt.io>2019-05-10 16:45:56 +0300
committerVille Voutilainen <ville.voutilainen@qt.io>2019-05-10 18:34:02 +0000
commit2a1651cc164b270dac81f4caa1fb8ded4fab6e4b (patch)
tree2643b0e960514acdaf2d7699d4001f50b9f67090 /tests/auto/tools
parentc99678fb19e579466f2a9e4df626de3cdb51f272 (diff)
Make moc grok binary literals with digit separators
Task-number: QTBUG-75656 Change-Id: I6011ef2fb07497cc2a055d6828a1b6356927c281 Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'tests/auto/tools')
-rw-r--r--tests/auto/tools/moc/tst_moc.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/auto/tools/moc/tst_moc.cpp b/tests/auto/tools/moc/tst_moc.cpp
index 293cbd8323..41bc4bc73b 100644
--- a/tests/auto/tools/moc/tst_moc.cpp
+++ b/tests/auto/tools/moc/tst_moc.cpp
@@ -524,6 +524,7 @@ private:
#ifdef Q_MOC_RUN
int xx = 11'11; // digit separator must not confuse moc (QTBUG-59351)
+ int xx = 0b11'11; // digit separator in a binary literal must not confuse moc (QTBUG-75656)
#endif
private slots: