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

            Bug ID: 36948
           Summary: compile error for empty brace initialization of non
                    type template argument
           Product: clang
           Version: 6.0
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: C++
          Assignee: unassignedclangb...@nondot.org
          Reporter: sw6u...@gmail.com
                CC: dgre...@apple.com, llvm-bugs@lists.llvm.org

// this code does not compile

template< int X = {} >
struct Test {};

int main() { 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
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to