Files
clang-p2996/lldb/test/lang/cpp/rvalue-references/main.cpp
Sean Callanan ce8af862ae Added support for rvalue references in debug information
(actually, mainly just hooked up support that was already
there).  Added a test case, although it's expected to fail
right now unless you're using top-of-tree LLVM.

llvm-svn: 157220
2012-05-21 23:31:51 +00:00

13 lines
134 B
C++

#include <stdio.h>
void foo (int &&i)
{
printf("%d\n", i); // breakpoint 1
}
int main()
{
foo(3);
return 0; // breakpoint 2
}