File tree Expand file tree Collapse file tree 2 files changed +10
-2
lines changed
autosar/test/rules/A0-1-2
common/test/includes/standard-library Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -17,4 +17,5 @@ void test_return_val() {
1717 A a2;
1818 a1 + a2; // COMPLIANT - `+` is a call to operator+, but is permitted by the
1919 // rule
20- }
20+ int y = (int )3 ;
21+ }
Original file line number Diff line number Diff line change 11namespace std {
22template <class ... Types> class tuple {};
33template <class ... Types> std::tuple<Types...> make_tuple (Types &&...args);
4- } // namespace std
4+ // TODO change this to example from cpp standard
5+ struct ignore_t {
6+ template <typename T>
7+ constexpr // required since C++14
8+ void operator =(T&&) const noexcept {}
9+ };
10+ inline constexpr std::ignore_t ignore; // 'const' only until C++17
11+ } // namespace std
You can’t perform that action at this time.
0 commit comments