feat: test auto keyword

This commit is contained in:
Michael Mandl 2023-10-21 22:45:28 +02:00
parent b78b86742b
commit 9b20fc7126
Signed by: mandlm
GPG key ID: 4AA25D647AA54CC7
4 changed files with 28 additions and 2 deletions

View file

@ -8,6 +8,7 @@
#include "initlist.h"
#include "null.h"
#include "structured_binding.h"
#include "type_inference.h"
#include "version.h"
int main(int argc, char **argv) {
@ -22,6 +23,7 @@ int main(int argc, char **argv) {
chapter_2_tests.emplace_back(std::make_unique<ConstExpTest>());
chapter_2_tests.emplace_back(std::make_unique<InitListTest>());
chapter_2_tests.emplace_back(std::make_unique<StructuredBindingTest>());
chapter_2_tests.emplace_back(std::make_unique<TypeInferenceTest>());
for (auto &test : chapter_2_tests) {
std::cout << "\n" << test->name() << ":" << std::endl;