From 1c3317e72f7845f121009c10add4d209d607ce48 Mon Sep 17 00:00:00 2001 From: albert-github Date: Sun, 1 Apr 2018 19:52:57 +0200 Subject: Test renumbering The tests numbers 067 and 068 were used twice, test 067 has been renamed to 072 and test 068 has been renamed to 073. --- testing/072/072__using_8cpp.xml | 32 ++++++++++++++++++++++++++++++++ testing/072_using.cpp | 7 +++++++ testing/073/073__typed__enum_8cpp.xml | 25 +++++++++++++++++++++++++ testing/073_typed_enum.cpp | 7 +++++++ 4 files changed, 71 insertions(+) create mode 100644 testing/072/072__using_8cpp.xml create mode 100644 testing/072_using.cpp create mode 100644 testing/073/073__typed__enum_8cpp.xml create mode 100644 testing/073_typed_enum.cpp diff --git a/testing/072/072__using_8cpp.xml b/testing/072/072__using_8cpp.xml new file mode 100644 index 0000000..e368966 --- /dev/null +++ b/testing/072/072__using_8cpp.xml @@ -0,0 +1,32 @@ + + + + 072_using.cpp + + + + + class T + + + std::vector< T > + using Vec = std::vector<T> + + Vec + + A vector. + + + + + + + + + + + + + + + diff --git a/testing/072_using.cpp b/testing/072_using.cpp new file mode 100644 index 0000000..ca02902 --- /dev/null +++ b/testing/072_using.cpp @@ -0,0 +1,7 @@ +// objective: test template parameters for a type alias +// check: 072__using_8cpp.xml + +/** \file */ + +/** @brief A vector */ +template using Vec = std::vector; diff --git a/testing/073/073__typed__enum_8cpp.xml b/testing/073/073__typed__enum_8cpp.xml new file mode 100644 index 0000000..9dda417 --- /dev/null +++ b/testing/073/073__typed__enum_8cpp.xml @@ -0,0 +1,25 @@ + + + + 073_typed_enum.cpp + + + unsigned short + E + + A strongly-typed enum. + + + + + + + + + + + + + + + diff --git a/testing/073_typed_enum.cpp b/testing/073_typed_enum.cpp new file mode 100644 index 0000000..0818463 --- /dev/null +++ b/testing/073_typed_enum.cpp @@ -0,0 +1,7 @@ +// objective: test underlying type and strongness for an enum +// check: 073__typed__enum_8cpp.xml + +/** \file */ + +/** @brief A strongly-typed enum */ +enum class E: unsigned short {}; -- cgit v0.12