repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Be careful about comdat boundary in ICF (PR ipa/82352).
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
catch1.C
blob
81778ea780764364cae5ba5255f3482f6b6f959d
1
// PR c++/53371
2
// { dg-do compile { target c++11 } }
3
4
struct Abs
5
{
6
virtual void a() = 0;
7
};
8
9
void foo()
10
{
11
try {
12
} catch (Abs) { } // { dg-error "abstract class type" }
13
14
try {
15
} catch (int&&) { } // { dg-error "rvalue reference type" }
16
}