// expected-note {{in call to 'f(2)'}} \
// expected-note {{in call to 'f(1)'}}
}
-static_assert(f(0) == 100); // ref-error {{not an integral constant expression}} \
- // ref-note {{in call to 'f(0)'}} \
- // expected-error {{not an integral constant expression}} \
- // expected-note {{in call to 'f(0)'}}
+static_assert(f(0) == 100, ""); // ref-error {{not an integral constant expression}} \
+ // ref-note {{in call to 'f(0)'}} \
+ // expected-error {{not an integral constant expression}} \
+ // expected-note {{in call to 'f(0)'}}
// ref-note {{in call to 'foo()'}}
}
-static_assert(bar() == 12); // expected-error {{not an integral constant expression}} \
- // expected-note {{in call to 'bar()'}} \
- // ref-error {{not an integral constant expression}} \
- // ref-note {{in call to 'bar()'}}
+static_assert(bar() == 12, ""); // expected-error {{not an integral constant expression}} \
+ // expected-note {{in call to 'bar()'}} \
+ // ref-error {{not an integral constant expression}} \
+ // ref-note {{in call to 'bar()'}}