added comment in test case

This commit is contained in:
Daniel Marjamäki 2012-06-23 20:20:11 +02:00
parent 72d24ab4b4
commit abde1d0ec1
1 changed files with 1 additions and 0 deletions

View File

@ -5184,6 +5184,7 @@ private:
}
void linkedlist() {
// #3904 - false positive when linked list is used
check("static void foo() {\n"
" struct ABC *abc = malloc(sizeof(struct ABC));\n"
" abc->next = malloc(sizeof(struct ABC));\n"