-// RUN: %clang_cc1 -fsyntax-only -std=c++1y %s -verify -emit-llvm
+// RUN: %clang_cc1 -fsyntax-only -std=c++1y %s -verify
namespace return_type_deduction_ok {
auto l = [](auto a) ->auto { return a; }(2);
auto l2 = [](auto a) ->decltype(auto) { return a; }(2);
-// RUN: %clang_cc1 -fsyntax-only -verify %s -std=c++1y -DCXX1Y -emit-llvm\r
+// RUN: %clang_cc1 -fsyntax-only -verify %s -std=c++1y -DCXX1Y \r
\r
namespace test_factorial {\r
\r
{\r
auto L = [](auto *a) { \r
return (*a)(a); }; //expected-error{{called object type 'double' is not a function}}\r
- //l(&l);\r
double d;\r
L(&d); //expected-note{{in instantiation of}}\r
auto M = [](auto b) { return b; };\r
{\r
auto L = [](auto *a) ->decltype (a->foo()) { //expected-note2{{candidate template ignored:}}\r
return (*a)(a); }; \r
- //l(&l);\r
double d;\r
L(&d); //expected-error{{no matching function for call}} \r
auto M = [](auto b) { return b; };\r
return a + b;\r
};\r
};\r
- // auto M = L(3.14);\r
- // return M('4'); \r
}\r
auto get_lambda() {\r
return [](auto a) {\r