Language
C++
Compiler
clang 7.0.0
Options
Warnings
Boost 1.68.0
C++2a(GNU)
no pedantic
Raw compiler options
-fsanitize=undefined
$ clang++ prog.cc -Wall -Wextra -I/opt/wandbox/boost-1.68.0/clang-7.0.0/include -std=gnu++2a  -fsanitize=undefinedthis=0x7ffc50687018 (ctor)
this=0x7ffc50687018 (Start)
this=0x7ffc50687018 (Start::lambda)
prog.cc:31:52: runtime error: member call on address 0x7ffc50687018 which does not point to an object of type 'Foo'
0x7ffc50687018: note: object is of type 'Base'
 00 00 00 00  48 b5 44 00 00 00 00 00  e0 c6 ce 01 00 00 00 00  e8 c6 ce 01 00 00 00 00  e8 c6 ce 01
              ^~~~~~~~~~~~~~~~~~~~~~~
              vptr for 'Base'
this=0x7ffc50687018 (Member)
Exit Code: 
0