Branch: Tag:

2015-12-10

2015-12-10 13:48:07 by Martin Nilsson <nilsson@fastmail.com>

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 {