1 // RUN: %clangxx -O0 -g %s -o %t && %run %t 2>&1 | FileCheck %s
10 FILE *fp
= fopen("/etc/fstab", "r");
13 int flags
= FPARSELN_UNESCALL
;
14 const char *delim
= "\\\\#";
15 size_t lineno
= 0, len
;
17 while ((line
= fparseln(fp
, &len
, &lineno
, delim
, flags
))) {
18 printf("lineno: %zu, length: %zu, line: %s\n", lineno
, len
, line
);