This is an archive of the discontinued LLVM Phabricator instance.

Revert r293455, which breaks v8 with a spurious error. Testcase added.
ClosedPublic

Authored by sammccall on Jan 30 2017, 2:33 AM.

Diff Detail

Repository
rL LLVM

Event Timeline

sammccall created this revision.Jan 30 2017, 2:33 AM
sberg added a subscriber: sberg.Jan 30 2017, 2:47 AM

Btw, ran into that with the even simpler test case

template<typename T> struct S {
    static typename T::t const n = 0;
};
struct U { using t = int; };
int main() { return S<U>::n; }
This revision is now accepted and ready to land.Jan 30 2017, 2:47 AM

Btw, ran into that with the even simpler test case

Thanks, I stole it :-)

This revision was automatically updated to reflect the committed changes.