[Issue 5708] Incorrect string constant folding with -inline
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Mon May 30 07:58:54 PDT 2011
http://d.puremagic.com/issues/show_bug.cgi?id=5708
Don <clugdbug at yahoo.com.au> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Resolution|FIXED |
--- Comment #14 from Don <clugdbug at yahoo.com.au> 2011-05-30 07:54:25 PDT ---
I think there was something wrong with that test case, it wasn't instantiating
the template. Here's a reduced test case:
string b(string s) { return s; }
string a(string s) { return b(s); }
void bug5708() {
void m() { a("lit"); }
static assert(a("foo") == "foo");
static assert(a("bar") == "bar");
}
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list