feat: test auto keyword
This commit is contained in:
parent
b78b86742b
commit
9b20fc7126
4 changed files with 28 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue