Extend the tests slightly

Adds a test for when the call is to an outer, non-member predicate.
This commit is contained in:
Taus
2021-10-13 13:03:30 +00:00
committed by GitHub
parent bc5e0924d2
commit e524076045

View File

@@ -9,8 +9,13 @@ class Foo extends string {
/* Okay because not a member predicate. */
string getBaz() { result = Baz::baz() }
/* Okay because not a member predicate. */
string getOuterQuux() { result = getQuux() }
}
string getQuux() { result = "quux" }
module Baz {
string baz() { result = "baz" }
}