https://bugs.llvm.org/show_bug.cgi?id=40622

            Bug ID: 40622
           Summary: issue with access specifier
           Product: clang
           Version: 7.0
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++11
          Assignee: unassignedclangb...@nondot.org
          Reporter: ankur.de...@tuta.io
                CC: blitzrak...@gmail.com, dgre...@apple.com,
                    erik.pilking...@gmail.com, llvm-bugs@lists.llvm.org,
                    richard-l...@metafoo.co.uk

The following code does not compile with clang 7:


class Foo
{
private:

  template<typename TYPE>
  static TYPE get();

public:

  template<typename TYPE>
  using Type_t = decltype(get<TYPE>());
};

int main()
{
  using Local_t = Foo::Type_t<int>;

  return 0;
}

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to