diff options
Diffstat (limited to 'test/CodeGenCXX/debug-info-cxx0x.cpp')
-rw-r--r-- | test/CodeGenCXX/debug-info-cxx0x.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/CodeGenCXX/debug-info-cxx0x.cpp b/test/CodeGenCXX/debug-info-cxx0x.cpp new file mode 100644 index 0000000..5753b05 --- /dev/null +++ b/test/CodeGenCXX/debug-info-cxx0x.cpp @@ -0,0 +1,8 @@ +// RUN: %clang_cc1 -emit-llvm-only -std=c++0x -g %s + +namespace PR9414 { + int f() { + auto x = 0; + return x; + } +} |