OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
* g++.dg/ext/attrib35.C: Fix target selector string.
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.dg
/
ext
/
has_nothrow_copy-7.C
1
// { dg-do "run" }
2
// { dg-options "-std=c++0x" }
3
#include <cassert>
4
5
struct S {
6
S (const S&) throw ();
7
S (S&&) throw (int);
8
};
9
10
int main ()
11
{
12
assert (__has_nothrow_copy (S));
13
}