[InstCombine] Signed saturation patterns
[llvm-complete.git] / test / DebugInfo / PDB / Inputs / every-array.cpp
blob28e07a01f3cc7967a880a2a6de259ea30db717d4
1 // Build with "cl.exe /Zi /GR- /GX- every-array.cpp /link /debug /nodefaultlib /entry:main"
3 // clang-format off
4 void *__purecall = 0;
6 void __cdecl operator delete(void *,unsigned int) {}
7 void __cdecl operator delete(void *,unsigned __int64) {}
10 int func1() { return 42; }
11 int func2() { return 43; }
12 int func3() { return 44; }
14 template<typename T>
15 void Reference(T &t) { }
17 int IA[3] = {1, 2, 3};
18 const int CIA[3] = {1, 2, 3};
19 volatile int VIA[3] = {1, 2, 3};
21 using FuncPtr = decltype(&func1);
22 FuncPtr FA[3] = {&func1, &func2, &func3};
24 struct S {
25 int N;
26 int f() const { return 42; }
29 using MemDataPtr = decltype(&S::N);
30 using MemFunPtr = decltype(&S::f);
32 MemDataPtr MDA[1] = {&S::N};
33 MemFunPtr MFA[1] = {&S::f};
36 int main(int argc, char **argv) {