pike.git/
src/
testsuite.in
Branch:
Tag:
Non-build tags
All tags
No tags
2015-12-10
2015-12-10 13:48:07 by Martin Nilsson <nilsson@fastmail.com>
7245b6590bbb859a318c8b9a5dcb30b7fd4d425b (
5
lines) (+
3
/-
2
)
[
Show
|
Annotate
]
Branch:
8.1
Use ignore_warning to ignore warning.
3752:
int a() {return X()->Y()->f() == 18;} ]])
+
ignore_warning("Attempt to override a non local variable s with a non-variable.",[[
test_program([[ class A { string s = "A";
3770:
} int a() {
-
// Ignore the warning we get from overloading a constant with a string.
-
master()->get_inhibit_compile_errors()->warning=0;
+
return X()->Y()->f() == "XAYBB"; } ]])
-
+
]])
test_program([[ class A {