File tree Expand file tree Collapse file tree 2 files changed +12
-1
lines changed Expand file tree Collapse file tree 2 files changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -35,6 +35,17 @@ void g() {
35
35
}
36
36
} // namespace dr1601
37
37
38
+ namespace dr1606 { // dr1606: 3.1
39
+ #if __cplusplus >= 201103L
40
+ std::size_t test () {
41
+ int i = 1 ;
42
+ int j = 1 ;
43
+ auto f = [=]{ return i + j; };
44
+ return sizeof (f);
45
+ }
46
+ #endif
47
+ } // namespace dr1606
48
+
38
49
namespace dr1611 { // dr1611: dup 1658
39
50
struct A { A(int ); };
40
51
struct B : virtual A { virtual void f () = 0; };
Original file line number Diff line number Diff line change @@ -9444,7 +9444,7 @@ <h2 id="cxxdr">C++ defect report implementation status</h2>
9444
9444
<td><a href="https://cplusplus.github.io/CWG/issues/1606.html">1606</a></td>
9445
9445
<td>NAD</td>
9446
9446
<td><TT>sizeof</TT> closure class</td>
9447
- <td class="unknown " align="center">Unknown </td>
9447
+ <td class="full " align="center">Clang 3.1 </td>
9448
9448
</tr>
9449
9449
<tr id="1607">
9450
9450
<td><a href="https://cplusplus.github.io/CWG/issues/1607.html">1607</a></td>
You can’t perform that action at this time.
0 commit comments