mirror of
https://github.com/github/codeql.git
synced 2026-04-28 02:05:14 +02:00
C++: Add a testcase that failed during development.
This commit is contained in:
@@ -111,4 +111,13 @@ namespace TestAdditionalCallTargets {
|
||||
|
||||
}
|
||||
|
||||
void post_update_to_phi_input(bool b)
|
||||
{
|
||||
A a;
|
||||
if(b) {
|
||||
a.i = user_input();
|
||||
}
|
||||
sink(a.i); // $ ast,ir
|
||||
}
|
||||
|
||||
} // namespace Simple
|
||||
|
||||
Reference in New Issue
Block a user