Mercurial > hg > CbC > CbC_gcc
annotate gcc/testsuite/g++.dg/pr58123.C @ 138:fc828634a951
merge
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Thu, 08 Nov 2018 14:17:14 +0900 |
parents | 04ced10e8804 |
children |
rev | line source |
---|---|
111 | 1 // { dg-do compile } |
2 // { dg-options "-fdump-tree-gimple-lineno" } | |
3 | |
4 // Test that the TRY block's location is the definition of "C a". | |
5 | |
6 class C { | |
7 public: | |
8 C() {} | |
9 ~C() {} | |
10 int m() { return 0; } | |
11 }; | |
12 int main() { | |
13 C a; | |
14 return a.m(); | |
15 } | |
16 | |
17 // { dg-final { scan-tree-dump-times "pr58123.C:13\.6\] try" 1 "gimple" } } |