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() {
17
17
A a2;
18
18
a1 + a2; // COMPLIANT - `+` is a call to operator+, but is permitted by the
19
19
// rule
20
- }
20
+ int y = (int )3 ;
21
+ }
Original file line number Diff line number Diff line change 1
1
namespace std {
2
2
template <class ... Types> class tuple {};
3
3
template <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