PR c++/86728 - C variadic generic lambda.
[official-gcc.git] / gcc / testsuite / g++.dg / pr58123.C
blobbd3c8c7cd8335d024128ab76243e7386307ccd93
1 // { dg-do compile }
2 // { dg-options "-fdump-tree-gimple-lineno" }
4 // Test that the TRY block's location is the definition of "C a".
6 class C {
7 public:
8   C() {}
9   ~C() {}
10   int m() { return 0; }
12 int main() {
13    C a;
14    return a.m();
17 // { dg-final { scan-tree-dump-times "pr58123.C:13\.6\] try" 1 "gimple" } }