junaire added inline comments.

================
Comment at: clang/test/Sema/err-expr-stmt-in-default-arg.cpp:10
+
+  void fn(int i, int j = ({{}, {}, {,}}), int k = ""); // expected-error 
{{expression statement not permitted in default argument}} expected-error 
{{cannot initialize a parameter of type 'int' with an lvalue of type 'const 
char[1]'}} expected-note {{passing argument to parameter 'k' here}}
+}
----------------
@erichkeane Do you mean this one? Or I get you wrong?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D119609/new/

https://reviews.llvm.org/D119609

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to