Skip to content

Commit 557b6f8

Browse files
committed
A2-3-1: adapt tests to qcc/gcc compiler checks
1 parent 1eb4677 commit 557b6f8

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

cpp/autosar/test/rules/A2-3-1/test.cpp.gcc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
// It is valid to use @ in comments COMPLIANT
22

33
// Invalid character α NON_COMPLIANT
4-
// double # = 2.; // NON_COMPLIANT; U+03b1 - this is compiler checked
5-
// void *to_#_and_beyond = nullptr; // NON_COMPLIANT; U+10185 - this is compiler checked
4+
// double a = 2.; // NON_COMPLIANT; U+03b1 - this is compiler checked
5+
// void *to_8_and_beyond = nullptr; // NON_COMPLIANT; U+10185 - this is compiler checked
66
int l1_\u00A8; // COMPLIANT[FALSE_POSITIVE]
77
const char *euro = "α"; // NON_COMPLIANT
88

cpp/autosar/test/rules/A2-3-1/test.cpp.qcc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
// It is valid to use @ in comments COMPLIANT
22

33
// Invalid character α NON_COMPLIANT
4-
// double # = 2.; // NON_COMPLIANT; U+03b1 - this is compiler checked
5-
// void *to_#_and_beyond = nullptr; // NON_COMPLIANT; U+10185 - this is compiler checked
4+
// double a = 2.; // NON_COMPLIANT; U+03b1 - this is compiler checked
5+
// void *to_8_and_beyond = nullptr; // NON_COMPLIANT; U+10185 - this is compiler checked
66
int l1_\u00A8; // COMPLIANT[FALSE_POSITIVE]
77
const char *euro = "α"; // NON_COMPLIANT
88

0 commit comments

Comments
 (0)