Debian Codegraph @

gcc/testsuite/g++.dg/tree-ssa/string-1.C

raw
1 /* { dg-do compile } */
2 /* { dg-options "-O3 -std=c++20 -fdump-tree-optimized" } */
3 #include <string>
4 std::string
5 test (std::string &a)
6 {
7 return a;
8 }
9 /* { dg-final { scan-tree-dump-not "throw" "optimized" } } */