bolt/deps/llvm-18.1.8/lldb/test/API/lang/cpp/rvalue-references/main.cpp

13 lines
134 B
C++
Raw Normal View History

2025-02-14 19:21:04 +01:00
#include <stdio.h>
void foo (int &&i)
{
printf("%d\n", i); // breakpoint 1
}
int main()
{
foo(3);
return 0; // breakpoint 2
}