summaryrefslogtreecommitdiffstats
path: root/tests/auto/cpptest/q3dbars/tst_bars.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/cpptest/q3dbars/tst_bars.cpp')
-rw-r--r--tests/auto/cpptest/q3dbars/tst_bars.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/auto/cpptest/q3dbars/tst_bars.cpp b/tests/auto/cpptest/q3dbars/tst_bars.cpp
index 630afac3..4535c026 100644
--- a/tests/auto/cpptest/q3dbars/tst_bars.cpp
+++ b/tests/auto/cpptest/q3dbars/tst_bars.cpp
@@ -95,6 +95,10 @@ void tst_bars::construct()
Q3DBars *graph = new Q3DBars();
QVERIFY(graph);
delete graph;
+
+ graph = new Q3DBars(new QSurfaceFormat());
+ QVERIFY(graph);
+ delete graph;
}
void tst_bars::initialProperties()