repo.or.cz
/
official-gcc
/
graphite-test-results.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge from mainline (167278:168000).
[official-gcc/graphite-test-results.git]
/
gcc
/
testsuite
/
g++.dg
/
ext
/
has_nothrow_copy-5.C
blob
051675c4d00d5c2b86e976322d0b3f7abbf35301
1
// PR c++/36872
2
// { dg-do "run" }
3
#include <cassert>
4
5
struct S {
6
S (const S&) throw ();
7
S (int) throw (int);
8
};
9
10
int main ()
11
{
12
assert (__has_nothrow_copy (S));
13
}