Skip to content
Browse files

Add lambda test in c++0x compiler check

  • Loading branch information...
1 parent 64cbba5 commit c4b13baf581a18a07f029b69dd13e6dee35256df @michaelforney michaelforney committed
Showing with 2 additions and 0 deletions.
  1. +2 −0 m4/ax_prog_cxx_cxx0x.m4
View
2 m4/ax_prog_cxx_cxx0x.m4
@@ -18,6 +18,8 @@ decltype(a) b;
typedef check<int> check_type;
check_type c;
check_type& cr = c;
+
+auto lambda = @<:@@:>@(int x) { return x + x; };
])
dnl AX_PROG_CXX_CXX0X(ACTION-IF-FOUND, ACTION-IF-NOT-FOUND)

0 comments on commit c4b13ba

Please sign in to comment.
Something went wrong with that request. Please try again.