(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
13 lines
134 B
C++
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
|
|
}
|