Skip to content

Commit

Permalink
Add availability attribute with multiple dots to test
Browse files Browse the repository at this point in the history
  • Loading branch information
sim642 committed Jul 26, 2024
1 parent 70a4303 commit 453a777
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions test/small1/attr-assign.c
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,10 @@ void foo(void) __attribute__((availability(macos,introduced=10.15)));
void foo(void) {
return;
}

// Version numbers may have multiple dots: https://github.com/goblint/cil/pull/171#issuecomment-2250670652
void bar(void) __attribute__((availability(macos,introduced=10.13.4)));

void bar(void) {
return;
}

0 comments on commit 453a777

Please sign in to comment.