Skip to content

Instantly share code, notes, and snippets.

@Erkaman
Created November 14, 2017 18:47
Show Gist options
  • Save Erkaman/8d98399f0d0e6ab0c0e8ad5ca7f57208 to your computer and use it in GitHub Desktop.
Save Erkaman/8d98399f0d0e6ab0c0e8ad5ca7f57208 to your computer and use it in GitHub Desktop.
Program that results in "An internal error has occurred in the compiler" for VC++ in VS 15.4.4
class Foo{};
int main(){
Foo foos[1] = { Foo()};
auto lambdaFunctionThatDoesNothing = [foos]() { };
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment