diff options
Diffstat (limited to 'Tests/CompileFeatures/cxx_attributes.cpp')
-rw-r--r-- | Tests/CompileFeatures/cxx_attributes.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Tests/CompileFeatures/cxx_attributes.cpp b/Tests/CompileFeatures/cxx_attributes.cpp index a3c89ea..1434317 100644 --- a/Tests/CompileFeatures/cxx_attributes.cpp +++ b/Tests/CompileFeatures/cxx_attributes.cpp @@ -1,2 +1,5 @@ -void unusedFunc [[noreturn]] () { throw 1; } +void unusedFunc[[noreturn]]() +{ + throw 1; +} |