2012-05-19 06:47:43 +08:00
|
|
|
// RUN: %clang_cc1 -analyze -analyzer-checker=core -std=c++11 -verify %s
|
|
|
|
|
|
|
|
// radar://11485149, PR12871
|
|
|
|
class PlotPoint {
|
|
|
|
bool valid;
|
|
|
|
};
|
|
|
|
|
|
|
|
PlotPoint limitedFit () {
|
|
|
|
PlotPoint fit0;
|
|
|
|
fit0 = limitedFit ();
|
|
|
|
return fit0;
|
|
|
|
}
|
2012-05-19 08:22:11 +08:00
|
|
|
|
|
|
|
// radar://11487541, NamespaceAlias
|
|
|
|
namespace boost {namespace filesystem3 {
|
|
|
|
class path {
|
|
|
|
public:
|
|
|
|
path(){}
|
|
|
|
};
|
|
|
|
|
|
|
|
}}
|
|
|
|
namespace boost
|
|
|
|
{
|
|
|
|
namespace filesystem
|
|
|
|
{
|
|
|
|
using filesystem3::path;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
void radar11487541() {
|
|
|
|
namespace fs = boost::filesystem;
|
|
|
|
fs::path p;
|
|
|
|
}
|
2012-05-22 06:07:00 +08:00
|
|
|
|
|
|
|
// PR12873 radrar://11499139
|
|
|
|
void testFloatInitializer() {
|
|
|
|
const float ysize={0.015}, xsize={0.01};
|
|
|
|
}
|