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
* tree-inline.c (eni_inlining_weights): Remove.
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.dg
/
warn
/
string1.C
1
// PR c++/35652
2
// { dg-options "-O" }
3
4
#include <string>
5
int test() {
6
// blank line padding, could also be code...
7
//
8
//
9
//
10
//
11
//
12
//
13
//
14
//
15
//
16
std::string s = "";
17
s += 'x' + "y"; // { dg-warning "bounds of constant string" }
18
}