repo.or.cz
/
gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Daily bump.
[gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
pr58123.C
blob
bd3c8c7cd8335d024128ab76243e7386307ccd93
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" } }