blob: 8e75776e2a6326bdd2b0f0577abbc69069f4197d [file] [log] [blame]
Douglas Gregorfffd93f2009-05-01 21:53:04 +00001// RUN: clang -fsyntax-only -fmessage-length=72 %s
2
3/* It's tough to verify the results of this test mechanically, since
4 the length of the filename (and, therefore, how the word-wrapping
5 behaves) changes depending on where the test-suite resides in the
6 file system. */
7void f(int, float, char, float);
8
9void g() {
10 int (*fp1)(int, float, short, float) = f;
11
12 int (*fp2)(int, float, short, float) = f;
13}
Douglas Gregor47f71772009-05-01 23:32:58 +000014
15void a_func_to_call(int, int, int);
16
17void a_very_long_line(int *ip, float *FloatPointer) {
18 for (int ALongIndexName = 0; ALongIndexName < 100; ALongIndexName++) if (ip[ALongIndexName] == 17) a_func_to_call(ip == FloatPointer, ip[ALongIndexName], FloatPointer[ALongIndexName]);
19
20
21 int array0[] = { [3] 3, 5, 7, 4, 2, 7, 6, 3, 4, 5, 6, 7, 8, 9, 12, 345, 14, 345, 789, 234, 678, 345, 123, 765, 234 };
22}