llvm-project/lldb/test/lang/cpp/rvalue-references/main.cpp

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
}