1 //===----------------------------------------------------------------------===// 2 // 3 // The LLVM Compiler Infrastructure 4 // 5 // This file is dual licensed under the MIT and the University of Illinois Open 6 // Source Licenses. See LICENSE.TXT for details. 7 // 8 //===----------------------------------------------------------------------===// 9 10 // Tests workaround for https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64816. 11 12 #include <string> 13 f(const std::string & s)14void f(const std::string &s) { s.begin(); } 15 16 #include <vector> 17 AppendTo(const std::vector<char> & v)18void AppendTo(const std::vector<char> &v) { v.begin(); } 19 main()20int main() {} 21