summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/example/typeinfo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/example/typeinfo.cpp b/test/example/typeinfo.cpp
index ff20753b1..4edf1cc5d 100644
--- a/test/example/typeinfo.cpp
+++ b/test/example/typeinfo.cpp
@@ -79,7 +79,7 @@ void test_compound() {
Type(otherArray, NonNullable).getID());
}
{
- Tuple singleTuple({Type::i32});
+ Tuple singleTuple = {Type::i32};
assert(Type(singleTuple).getID() == Type::i32);
Tuple tuple({Type::i32, Type::f64});