-
Notifications
You must be signed in to change notification settings - Fork 77
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #584 from goblint/preprocessor_exclude_stdlib
Preprocessor directives to disable Goblint includes
- Loading branch information
Showing
3 changed files
with
18 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
// PARAM: --set cppflags[+] -DGOBLINT_NO_QSORT | ||
#include<stddef.h> | ||
|
||
// There should be no CIL warning about multiple definitions here | ||
void qsort(void *ptr, size_t count, size_t size, int (*comp)(const void*, const void*), int more) { | ||
} | ||
|
||
int main() { | ||
|
||
} |