1*7c3d14c8STreehugger Robot // Regression test with an empty (length = 0) custom section. 2*7c3d14c8STreehugger Robot 3*7c3d14c8STreehugger Robot // RUN: %clangxx_asan -g -O0 %s -c -o %t.o 4*7c3d14c8STreehugger Robot // RUN: %clangxx_asan -g -O0 %t.o -o %t -sectcreate mysegment mysection /dev/null 5*7c3d14c8STreehugger Robot // RUN: %run %t 2>&1 | FileCheck %s 6*7c3d14c8STreehugger Robot 7*7c3d14c8STreehugger Robot #include <stdio.h> 8*7c3d14c8STreehugger Robot main()9*7c3d14c8STreehugger Robotint main() { 10*7c3d14c8STreehugger Robot printf("Hello, world!\n"); 11*7c3d14c8STreehugger Robot // CHECK: Hello, world! 12*7c3d14c8STreehugger Robot } 13