GitNexus/gitnexus/test/fixtures/lang-resolution/cpp-adl-reference-arg-boundary/app.cpp

21 lines
319 B
C++

#include "audit.h"
namespace app {
void runRef() {
audit::Event e;
audit::Event& s = e;
record(s);
}
void runConstRef() {
audit::Event e;
const audit::Event& constEventRef = e;
recordConst(constEventRef);
}
void runPrimitiveRef() {
int n = 0;
int& r = n;
note(r);
}
}