aboutsummaryrefslogtreecommitdiff
path: root/clang/test/AST/ByteCode/functions.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/AST/ByteCode/functions.cpp')
-rw-r--r--clang/test/AST/ByteCode/functions.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/AST/ByteCode/functions.cpp b/clang/test/AST/ByteCode/functions.cpp
index 363b6a5..36e7bb3 100644
--- a/clang/test/AST/ByteCode/functions.cpp
+++ b/clang/test/AST/ByteCode/functions.cpp
@@ -622,7 +622,7 @@ namespace FromIntegral {
int a[(int)DoubleFn((void*)-1)()]; // both-error {{not allowed at file scope}} \
// both-warning {{variable length arrays}}
int b[(int)DoubleFn((void*)(-1 + 1))()]; // both-error {{not allowed at file scope}} \
- // expected-note {{evaluates to a null function pointer}} \
+ // both-note {{evaluates to a null function pointer}} \
// both-warning {{variable length arrays}}
#endif
}