mirror of
https://github.com/github/codeql.git
synced 2026-04-26 09:15:12 +02:00
C++: Add test for mixed implicit/explicit function declarations
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
| implicit2.c:1:7:1:7 | g | file://:0:0:0:0 | float |
|
||||
| implicit2.c:1:7:1:7 | g | file://:0:0:0:0 | int |
|
||||
| implicit.c:1:6:1:6 | f | file://:0:0:0:0 | void |
|
||||
| implicit.c:3:5:3:5 | g | file://:0:0:0:0 | float |
|
||||
| implicit.c:3:5:3:5 | g | file://:0:0:0:0 | int |
|
||||
| implicit.cpp:3:6:3:6 | f | file://:0:0:0:0 | void |
|
||||
@@ -0,0 +1,5 @@
|
||||
import cpp
|
||||
|
||||
from Function fn
|
||||
where fn.fromSource()
|
||||
select fn, fn.getType()
|
||||
@@ -0,0 +1 @@
|
||||
float g();
|
||||
Reference in New Issue
Block a user