Skip to content

Commit df07198

Browse files
committed
A18-0-1: improve testcase
1 parent 65f71d9 commit df07198

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

cpp/autosar/test/rules/A18-0-1/test.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,4 +41,5 @@
4141
#include <cwchar> // COMPLIANT
4242
#include <cwctype> // COMPLIANT
4343

44-
#include "lib/assert.h" // COMPLIANT
44+
#include "lib/assert.h" // COMPLIANT
45+
#include "time.h" // COMPLIANT - no way to check if this is a local checked in std lib copy

cpp/autosar/test/rules/A18-0-1/time.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#ifndef LIB_TIME_EXAMPLE_H_
2+
#define LIB_TIME_EXAMPLE_H_
3+
// may be a user lib or a std lib checked into a project
4+
#endif

0 commit comments

Comments
 (0)