aboutsummaryrefslogtreecommitdiff
path: root/test/Misc/message-length.c
blob: a99889237c24f955751a5f16959f271f82917c54 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// RUN: clang -fsyntax-only -fmessage-length=72 %s

/* It's tough to verify the results of this test mechanically, since
   the length of the filename (and, therefore, how the word-wrapping
   behaves) changes depending on where the test-suite resides in the
   file system. */
void f(int, float, char, float);

void g() {
      int (*fp1)(int, float, short, float) = f;

  int (*fp2)(int, float, short, float) = f;
}