Details
-
Bug
-
Status: Closed (View Workflow)
-
High
-
Resolution: Fixed
-
None
-
None
-
any
Description
$ root -l -b -q -e 'int*p=nullptr; *p' ; echo $?
|
...
|
Error in <HandleInterpreterException>: Trying to dereference null pointer or trying to call routine taking non-null arguments.
|
Execution of your code was aborted.
|
ROOT_cli_0:1:17: warning: null passed to a callee that requires a non-null argument [-Wnonnull]
|
int*p=nullptr; *p
|
^
|
0
|
The exit code should really be 1, also for tests that claim to succeed otherwise.
Attachments
Issue Links
- is triggered by
-
ROOT-8829 missing test?
-
- Closed
-